This is great. Is there any reason why prefer reflex over lucid?
And do you have any consideration if someone want to use third party library if we use reflex-dom? Like current pandoc style doesn't have syntax highlighting for Nix language, so I am planning to use another syntax highlighting library in javascript.
I mainly plan to work on these two things next:
Neuron.Zettelkasten.Query.View
module comment)Unifying all these different rendering points should make things much simpler.
This is great. Is there any reason why prefer reflex over lucid?
And do you have any consideration if someone want to use third party library if we use reflex-dom? Like current pandoc style doesn't have syntax highlighting for Nix language, so I am planning to use another syntax highlighting library in javascript.
Main reason: GHCJS support. Why? An awesome project is going to be released this year.
@Rizary Well if you contribute Nix language support to skylighting https://github.com/jgm/skylighting/tree/master/skylighting-core/xml - that might be better.
TIL about skylighting. So I assume pandoc use this library?
Yes.
https://github.com/srid/neuron/blob/67c692324a03e1350ddcc17cc41e29efd659156b/src/app/Neuron/Web/View.hs#L55-L56
actual place where neuron uses it to highlight code is here: https://github.com/srid/reflex-dom-pandoc/blob/master/src/Reflex/Dom/Pandoc/SyntaxHighlighting.hs