Awesome start :O

> I had one major issue... none of the yaml or markdown parsers worked with 
> nim's JS backend. So my yaml frontmatter is parsed as key/value pairs 
> (probably poorly too) and I parse the markdown in javascript.

What you could do is extend the markdown packages to either:

  * Fix them to work in the JS backend; or
  * Simply call a JS library transparently for the JS backend



This is how the stdlib `json` module works for example :)

> WOW the .importc pragma is amazing for doing things like that. just wow.

:D

Reply via email to