diff options
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 }} + |
