cryogen

http://cryogenweb.org/ - static sites by @U0DJK1VH6 & Co.
Andrei Stan 2020-11-17T10:51:52.168400Z

hello, i am using Cryogen for a static website. The pages are converted into HTML from .asc ; I am using Chrome, and i do not understand how the classes are applied for HTML elements: for example all the content of the pages have a wrapper with class="sect1" . Then i see the second child of this wrapper has class="sectionbody" etc... [1] Does anyone knows how can i modify those classes? It somehow ruins my plans in using semantic-ui for styling. [2] Somehow, the Html paragraphs generated from .asc files contains text between double quotes <p>"text generated from .asc file"</p> Thanks

Andrei Stan 2020-11-18T16:44:08.171200Z

thank you all for the info

Jakub Holý 2020-11-19T19:14:44.177100Z

I suspect it doesn't. PR welcome.

Jakub Holý 2020-11-19T19:15:58.177300Z

As described in https://github.com/cryogen-project/cryogen-asciidoc, you can only configure attributes and custom macros currently.

Jakub Holý 2020-11-17T15:57:39.168700Z

AsciidoctorJ generates the classes so look at its docs. The " are there onouly in the DOM inspector or also in the html?

Eugen 2020-11-17T23:27:56.168900Z

Asciidoctorj allows for a different template dir ( template_dirs in https://github.com/asciidoctor/asciidoctorj#conversion-options ) Also https://discuss.asciidoctor.org/Custom-HTML-template-td1944.html It seems cryogen uses haml html5 template https://github.com/asciidoctor/asciidoctor-backends/blob/master/haml/html5/section.html.haml Does cryogen allow configuration of the asciidoc rendering?

Eugen 2020-11-17T23:28:06.169700Z

The config page seems emtpy https://cryogenweb.org/docs/configuration.html

dorab 2020-11-17T23:31:19.169900Z

Oops. Thanks for pointing it out. Taking a look now.

dorab 2020-11-17T23:42:39.170100Z

Found the problem. Will apply fix and push shortly.

dorab 2020-11-17T23:52:50.170300Z

Fixed and published. Thanks again @eugen.stan

👍 2
❤️ 1
Eugen 2020-11-17T23:53:36.170500Z

nice

dorab 2020-11-17T23:58:10.170800Z

I'm not sure, but take a look at https://github.com/cryogen-project/cryogen-asciidoc