Skip to content

Multiple spans created in SQL format #2313

Answered by facelessuser
nryberg asked this question in Q&A
Discussion options

You must be logged in to vote

Results very spread out visual.

Neither SuperFences nor InlineHilite inherently exhibit the issue you describe. If this issue exists, it exists because you have provided bad CSS that does this.

The highlighting is controlled by Pygments, not us. They wanted to properly scope the white space as not being part of the other syntax. Scoping the white space with a span does not inject new lines, that's not how HTML works. But CSS can change how blocks are styled. And since Pymdown Extensions does not provide any CSS in our output, the bad CSS has to originate from either you or some other 3rd party CSS you are including.

Here I enter inline and block format into my documents via:

`#!sql SELE…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@facelessuser
Comment options

@nryberg
Comment options

Answer selected by facelessuser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
S: triage Issue needs triage.
2 participants
Converted from issue

This discussion was converted from issue #2312 on February 08, 2024 19:04.