diff options
author | Qieerb <qieerbushe7@gmail.com> | 2018-03-23 13:11:06 +0000 |
---|---|---|
committer | Qieerb <qieerbushe7@gmail.com> | 2018-03-23 13:11:06 +0000 |
commit | bb060bb4615088ddb56e9e28e388db2b8216d1cb (patch) | |
tree | 5a1da24a668f7e25d5d23a2d757507cf3c8ed6df | |
parent | 4d2ce99145a6dbb4b00ec5c89ce5234790f3c538 (diff) | |
download | FMark-bb060bb4615088ddb56e9e28e388db2b8216d1cb.tar.gz FMark-bb060bb4615088ddb56e9e28e388db2b8216d1cb.zip |
testing + fixes
-rw-r--r-- | FMark/src/Common/TOCite/RefParse.fs | 11 | ||||
-rw-r--r-- | examples/example.fmark | 4 |
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. |