aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorGeorge Punter <gsp14@ic.ac.uk>2018-03-22 20:37:49 +0000
committerGeorge Punter <gsp14@ic.ac.uk>2018-03-22 20:37:49 +0000
commitc75f89b195a699397caa2fab1c29400c8a4b6a3c (patch)
tree95b67de54a34532d5e19059b2e5df41ad3afc099 /examples
parent3a78ab4ddafe3affcee3f2501602f339458b5ee0 (diff)
parent8d51e63f8d509430c6417d1c59c2344b169cd8a2 (diff)
downloadFMark-c75f89b195a699397caa2fab1c29400c8a4b6a3c.tar.gz
FMark-c75f89b195a699397caa2fab1c29400c8a4b6a3c.zip
merge htmlgen into readmes_examples
Diffstat (limited to 'examples')
-rw-r--r--examples/example.fmark29
-rw-r--r--examples/example.html7
2 files changed, 29 insertions, 7 deletions
diff --git a/examples/example.fmark b/examples/example.fmark
index 47db26c..27d3861 100644
--- a/examples/example.fmark
+++ b/examples/example.fmark
@@ -1,3 +1,4 @@
+
# FMark Example
## Table of contents
@@ -93,4 +94,30 @@ Unordered List 2:
$$2* \begin{pmatrix}
x_{00} & x_{01} & x_{01} \newline
x_{10} & x_{11} & x_{11} \newline
-x_{20} & x_{21} & x_{21} \end{pmatrix}$$ \ No newline at end of file
+x_{20} & x_{21} & x_{21} \end{pmatrix}$$
+
+## Footers
+
+%%RefStyle= Harvard
+
+### Simple footnote
+
+Here are some[^1] words, and more words[^2].
+
+[^2], A few lines to explain the words.
+ Another line to explain the words.
+
+[^1], We should probably sort them by ID numbers.
+
+### References
+
+All footnotes are collected and displayed at the end of the document[^Eric].
+The style of references are set at the top of the document.
+
+[^Eric], type= Book, author= Not Eric, year= 2018, title= An Introduction to FMark
+
+Note: Simple footnotes takes numerical IDs, and references need alphabetical IDs.
+
+# Other things
+
+Look the footers are rendered below this.
diff --git a/examples/example.html b/examples/example.html
index e08fb69..5b8d288 100644
--- a/examples/example.html
+++ b/examples/example.html
@@ -180,14 +180,9 @@
</ul>
<h3 id="Links14">Links</h3>
<p>
-<<<<<<< HEAD
+
<a href="http://www.google.com">Google</a>
<!-- Images produce correct HTML but don't display in VS Code-->
-=======
- <a href="www.google.com">Google</a>
- </p>
- <p>
->>>>>>> htmlgen
<img src="test_img.jpg" alt="image">
</p>
<h2 id="LateX_maths15">LateX maths</h2>