aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--FMark/src/Common/TOCite/RefParse.fs11
-rw-r--r--examples/example.fmark4
2 files changed, 2 insertions, 13 deletions
diff --git a/FMark/src/Common/TOCite/RefParse.fs b/FMark/src/Common/TOCite/RefParse.fs
index e2ffc43..24dbd93 100644
--- a/FMark/src/Common/TOCite/RefParse.fs
+++ b/FMark/src/Common/TOCite/RefParse.fs
@@ -218,14 +218,3 @@ let refParse style tocLst =
match tocLst with
| PickoutParagraph (tk,rtok) -> refParser style tk |> fun (a,b) -> a,b,rtok
| _ -> refParser style tocLst |> fun (a,b) -> a,b,[]
-
-
-
-(* let ind = tocLst |> List.tryFindIndex (fun x -> x = ENDLINE)
- match ind with
- | Some i ->
- let (h,t) = List.splitAt i tocLst
- refParser style h |> fun (a,b) -> a,b,t.Tail
- | None ->
- refParser style tocLst |> fun (a,b) -> a,b,[]
- *) \ No newline at end of file
diff --git a/examples/example.fmark b/examples/example.fmark
index 8e5a8ee..79fe478 100644
--- a/examples/example.fmark
+++ b/examples/example.fmark
@@ -3,7 +3,7 @@
## Table of contents
<!-- Relative links do not work in VS code, use Create HTML File. -->
-%%TOC
+%%TOC depth=2
## Macros
@@ -159,7 +159,7 @@ The style of references are set at the top of the document.[^Miller]
[^Smith], type = Book, author = FMark Smith, year = 2018, title = An Introduction to FMark
-[^Miller], type=Website, author=FMarkie Miller, year=1990, title = A nice website on FMark, access = 2007-01-07, url=http://www.example.com
+[^Miller], type=Website, author=FMarkie Miller, year=1990, title = A nice website on FMark, access = 2007-01-07, url=https://www.example.com
Note: Simple footnotes takes numerical IDs, and references need alphabetical IDs.