cryogen

http://cryogenweb.org/ - static sites by @U0DJK1VH6 & Co.
kwladyka 2021-06-11T20:19:43.007800Z

Is a way to get with customisation markdown as it is without HTML? This is needed for <script type=application/ld+json> for SEO purpose. I see only HTML content in data.

kwladyka 2021-06-12T10:44:32.008300Z

eventually something to HTML -> text

Jakub Holý 2021-06-12T18:07:59.008500Z

I guess you are on your own then. Look at the code, it is quite straightforward.

Jakub Holý 2021-06-14T14:42:21.011300Z

You can see it is the markup plugin that actually reads the file and at once turns it into HTML https://github.com/cryogen-project/cryogen-flexmark/blob/master/src/cryogen_flexmark/core.clj So you could e.g. make your own impl. of the Markup protocol that copies what cryogen-flexmark does but also adds the changes you need.

👍 1
Jakub Holý 2021-06-11T21:27:05.007900Z

Sorry, I don't understand

kwladyka 2021-06-11T22:58:08.008100Z

I need post.content as a raw markdown instead of HTML DOM