This commit is contained in:
tristan 2024-01-02 09:33:56 +00:00
parent 195f8a60ae
commit b1426fb1ca
7 changed files with 28 additions and 20 deletions

View file

@ -1,4 +1,5 @@
{it,...}:let
{ it, ... }:
let
elems = import ../nixite/elems.nix;
style = import ../nixite/style.nix;
html = import ../nixite/html.nix;

View file

@ -1,5 +1,5 @@
{it, ...}: let
html = import ../nixite/html.nix;
{ it, ... }:
let html = import ../nixite/html.nix;
in with html; [
(it "keeps info in the tag" (let p = tag "p";

View file

@ -1,4 +1,5 @@
{it,...}: let
{ it, ... }:
let
md = import ../nixite/md.nix;
elems = import ../nixite/elems.nix;
in with md; [
@ -99,7 +100,10 @@ in with md; [
foo bar
'';
expected = "<p >lorem ipsum\ndolor sit\n</p><p >foo bar</p>";
expected = ''
<p >lorem ipsum
dolor sit
</p><p >foo bar</p>'';
asString = true;
})

View file

@ -1,4 +1,5 @@
{it,...}:let
{ it, ... }:
let
html = import ../nixite/html.nix;
elems = import ../nixite/elems.nix;
site = import ../nixite/site.nix;

View file

@ -1,4 +1,5 @@
{it,...}: let
{ it, ... }:
let
style = import ../nixite/style.nix;
elems = import ../nixite/elems.nix;
in [