aboutsummaryrefslogtreecommitdiffstats
path: root/root/articles/mmmfs/examples/markdown/text$markdown.md
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2019-12-30 18:52:37 +0000
committers-ol <s-ol@users.noreply.github.com>2019-12-30 18:52:37 +0000
commit5db27ae44907974230dbdfba002182e68e59038e (patch)
treef3f341ceb8b808e8293f188db21a51fd2fd98145 /root/articles/mmmfs/examples/markdown/text$markdown.md
parentprint styling fixes (diff)
downloadmmm-5db27ae44907974230dbdfba002182e68e59038e.tar.gz
mmm-5db27ae44907974230dbdfba002182e68e59038e.zip
lots of fixes
Diffstat (limited to 'root/articles/mmmfs/examples/markdown/text$markdown.md')
-rw-r--r--root/articles/mmmfs/examples/markdown/text$markdown.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/root/articles/mmmfs/examples/markdown/text$markdown.md b/root/articles/mmmfs/examples/markdown/text$markdown.md
new file mode 100644
index 0000000..880eedb
--- /dev/null
+++ b/root/articles/mmmfs/examples/markdown/text$markdown.md
@@ -0,0 +1,20 @@
+This is a markdown document rendered using [marked][marked] on the client, and [discount][discount] on the server.
+All Markdown features are supported, for example there is support for lists...
+
+- a list of things
+- (two things)
+
+...and syntax-highlighted code tags:
+
+```
+print "Hello World"
+```
+
+Since Markdown supports inline HTML, mmmfs shorthands can also be used to embed and reference content from elsewhere in
+the system. For example, the title of this fileder can be embedded using
+`<mmm-embed facet="title"></mmm-embed>`:
+
+<mmm-embed facet="title"></mmm-embed>
+
+[marked]: https://marked.js.org/
+[discount]: https://luarocks.org/modules/craigb/discount