This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-11-17
Channels
- # architecture (115)
- # asami (64)
- # aws (2)
- # babashka (65)
- # beginners (91)
- # calva (21)
- # clara (3)
- # cljdoc (5)
- # cljsrn (1)
- # clojure (331)
- # clojure-australia (15)
- # clojure-europe (16)
- # clojure-italy (7)
- # clojure-nl (8)
- # clojure-uk (10)
- # clojurescript (10)
- # conjure (4)
- # core-typed (6)
- # cryogen (12)
- # data-science (1)
- # datomic (9)
- # depstar (2)
- # emacs (1)
- # events (1)
- # figwheel-main (1)
- # fulcro (2)
- # graalvm (9)
- # helix (4)
- # java (45)
- # kaocha (4)
- # malli (14)
- # meander (4)
- # membrane (34)
- # mid-cities-meetup (6)
- # pedestal (3)
- # re-frame (7)
- # reitit (4)
- # shadow-cljs (4)
- # spacemacs (5)
- # sql (29)
- # tools-deps (22)
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 "text generated from .asc file"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
Thanks
AsciidoctorJ generates the classes so look at its docs. The " are there onouly in the DOM inspector or also in the html?
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?
I'm not sure, but take a look at https://github.com/cryogen-project/cryogen-asciidoc
thank you all for the info
I suspect it doesn't. PR welcome.
As described in https://github.com/cryogen-project/cryogen-asciidoc, you can only configure attributes and custom macros currently.
The config page seems emtpy https://cryogenweb.org/docs/configuration.html