Replies: 4 comments 1 reply
-
Ah, I understood. "nohighlight" is for |
Beta Was this translation helpful? Give feedback.
-
Yes, this is intentional, to allow for a combination of internal and external highlighters on the same page. Is there a scenario where this is problematic? |
Beta Was this translation helpful? Give feedback.
-
@jenshalm No, there's no problem for now : ) Thanks! Btw, I found demo site does not look nice on mobile or smaller screen, so I created similar demo frontend without js! Live demo: https://i10416.github.io/demo/ I think Laminar is type-safe and easier to use (for Scala developers) frontend framework native to Scala. Source code of demo site above is at https://github.com/i10416/laika-laminar. |
Beta Was this translation helpful? Give feedback.
-
@i10416: I just opened the discussion section for this repository and moved all issues with label 'question' from the last 2 years here. Regarding changing the demo app: I think improving the UI for mobile and moving to Laminar are two concerns I'd prefer to keep separate. I can look into mobile improvements during the 0.18 timeline, and then later into moving to Laminar. It's certainly an attractive option as it would simplify the build. But I need to learn a thing or two about Laminar before making such a big change, so that I'm able to maintain it myself when needed. I think I'd also like to maintain some of the current look and feel. Another thing I'm thinking about is adding a showcase section to the manual. I could link to your alternative demo app there until we change it in this repo. |
Beta Was this translation helpful? Give feedback.
-
Is this intentional?
https://github.com/planet42/Laika/blob/master/core/shared/src/main/scala/laika/render/HTMLRenderer.scala#L117
I think it makes sense if code block with syntax highlighting is rendered with language class(e.g.
class="scala"
) and code block without syntax highlighting is rendered withnohighlight
class.Beta Was this translation helpful? Give feedback.
All reactions