diff options
| author | andre4ik3 <andre4ik3@fastmail.com> | 2025-08-18 17:42:27 +0000 |
|---|---|---|
| committer | andre4ik3 <andre4ik3@fastmail.com> | 2025-08-18 17:42:27 +0000 |
| commit | d9ff6edbfcdc408e23684c00df806eac72fd02b2 (patch) | |
| tree | 45a8fe89aa4de37a2dab4b293330874e37907beb /layouts/_markup | |
Initial commit
Diffstat (limited to 'layouts/_markup')
| -rw-r--r-- | layouts/_markup/render-blockquote.gmi | 1 | ||||
| -rw-r--r-- | layouts/_markup/render-codeblock.gmi | 3 | ||||
| -rw-r--r-- | layouts/_markup/render-heading.gmi | 3 | ||||
| -rw-r--r-- | layouts/_markup/render-link.gmi | 4 |
4 files changed, 11 insertions, 0 deletions
diff --git a/layouts/_markup/render-blockquote.gmi b/layouts/_markup/render-blockquote.gmi new file mode 100644 index 0000000..434d5ad --- /dev/null +++ b/layouts/_markup/render-blockquote.gmi @@ -0,0 +1 @@ +> {{ .Text }} diff --git a/layouts/_markup/render-codeblock.gmi b/layouts/_markup/render-codeblock.gmi new file mode 100644 index 0000000..fccccac --- /dev/null +++ b/layouts/_markup/render-codeblock.gmi @@ -0,0 +1,3 @@ +```{{ .Type }} +{{ .Inner }} +``` diff --git a/layouts/_markup/render-heading.gmi b/layouts/_markup/render-heading.gmi new file mode 100644 index 0000000..d33cde1 --- /dev/null +++ b/layouts/_markup/render-heading.gmi @@ -0,0 +1,3 @@ + +{{ strings.Repeat .Level "#" }} {{ .Text }} + diff --git a/layouts/_markup/render-link.gmi b/layouts/_markup/render-link.gmi new file mode 100644 index 0000000..3ca54ac --- /dev/null +++ b/layouts/_markup/render-link.gmi @@ -0,0 +1,4 @@ + + +=> {{ .Destination | safeURL }} {{ .Text }} + |
