Skip to content

Why laika convert [test] in to <p><code>[test]</code><p>? #389

Answered by jenshalm
btomala asked this question in Q&A
Discussion options

You must be logged in to vote

Ah, now I understand, thanks for adding some context. What you are doing is not strictly wrong, but quite unusual and therefore not one of the use cases supported out of the box. The failOnMessages setting you are using is mostly intended to be used for "Visual Debugging", meaning instead of aborting the transformation with an error, it will render the errors in place instead, e.g. when using the preview server of the sbt plugin. More details on how this is meant to be used can be found here: https://planet42.github.io/Laika/latest/02-running-laika/03-configuration.html#visual-debugging

Now what you want is neither fail on errors nor render them as errors, but treat them as basic text inp…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@btomala
Comment options

Answer selected by btomala
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants