Skip to content

Commit

Permalink
close #11, start moving docs & browser, cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
metagn committed Feb 11, 2021
1 parent 92d4e5c commit 11b8a82
Show file tree
Hide file tree
Showing 10 changed files with 265 additions and 426 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@ tests/**/*.js
*.exe
tests/files/*_real.html
tests/files/*_real_lf.html
_browser
_docs
browser
docs
50 changes: 0 additions & 50 deletions browser/browser.css

This file was deleted.

25 changes: 0 additions & 25 deletions browser/converter.html

This file was deleted.

47 changes: 0 additions & 47 deletions browser/converter.nim

This file was deleted.

3 changes: 0 additions & 3 deletions browser/converter.nims

This file was deleted.

142 changes: 0 additions & 142 deletions browser/reference.html

This file was deleted.

2 changes: 1 addition & 1 deletion marggers.nimble
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "0.2.1"
version = "0.2.2"
author = "hlaaftana"
description = "markdown dialect"
license = "MIT"
Expand Down
3 changes: 2 additions & 1 deletion src/marggers.nim
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ proc parseMarggers*(text: NativeString): seq[MarggersElement] =
## Parses a string of text in marggers and translates it to HTML line by line.
## Result is a sequence of MarggersElements, to simply generate HTML with no need for readability
## turn these all into strings with ``$`` and join them with "".
result = parseTopLevel(text)
var parser = MarggersParser(str: text, pos: 0)
result = parseTopLevel(parser)

proc parseMarggers*(text: string | cstring): seq[MarggersElement] =
## Alias of parseMarggers that takes any string as the argument.
Expand Down
Loading

0 comments on commit 11b8a82

Please sign in to comment.