krymtkts / blog-fable

A small Fable app project to generate static pages
https://krymtkts.github.io/blog-fable/index.html
MIT License
2 stars 0 forks source link

Try using Remark to parse metadata as well. #3

Open krymtkts opened 1 year ago

krymtkts commented 1 year ago
          Try using Remark to parse metadata as well.

_Originally posted by @krymtkts in https://github.com/krymtkts/blog-fable/pull/2#discussion_r1186660019_

use remarkjs/remark and remarkjs/remark-frontmatter

krymtkts commented 1 year ago

I tried to generate bindings for remark and its dependencies using ts2fable, but it was quite difficult. If I write the parser creation part in JavaScript and call it from Fable, it should work. But I want to write it in F# as much as possible. So, I'm postponing it for now.