Falco.Markup
Falco.Markup copied to clipboard
Html to Falco mark-up
Is there a website to convert html to Falco mark-up? Not sure if there is one for giraffe or oxpecker. That would be super handy to drive adoption.
Thanks for this library btw.
That's a great question.
I wonder what the best way to do this would be? Naively I want to say something like AngleSharp to create a syntax tree from the markup, and project these into Falco markup.
@pimbrouwers
Sorry for the delay. I will start using your fantastic DSL in some internal apps at work. I think its a must to have a HTML-to-Falco-DSL converter. Here is the code.
https://github.com/AlbertoDePena/html-to-fsharp-dsl
Im sure its needs a few tweaks here and there. Let me know if you want to host this in your GitHub page or I can do it.
No need to be sorry at all! That's life! I can't access the link. But I think it's a neat idea! I am curious how you pulled it off. I've been thinking we could use JavaScript, recurse the DOM and transcode the HTML elements.
Give the link another shot! https://github.com/AlbertoDePena/html-to-fsharp-dsl
It is hosted here: https://albertodepena.github.io/convert-html-to-fsharp-html-dsl/