I have some quoted paragraphs of text in the code block, and I want the text to wrap itself instead of showing up on the same line. The reason I don’t use a quote block is because the quoted paragraph has many lines of text, and adding the symbol “>” to each line is cumbersome.
linenos: configure line numbers. Valid values are true, false, table, or inline. false will turn off line numbers if it’s configured to be on in site configuration. table will give copy-and-paste friendly code blocks.
hl_lines: lists a set of line numbers or line number ranges to be highlighted.
linenostart=199: starts the line number count from 199.
anchorlinenos: Configure anchors on line numbers. Valid values are true or false;
lineanchors: Configure a prefix for the anchors on line numbers. Will be suffixed with -, so linking to the line number 1 with the option lineanchors=prefix adds the anchor prefix-1 to the page.
hl_inline Highlight inside a <code> (inline HTML element) tag. Valid values are true or false. The code tag will get a class with name code-inline.
Can you provide a small markdown example of what you are trying to achieve? Line wrapping in a fenced or indented code block is, for the most part, not desirable.
The text was copied from somewhere else, and if I used a reference block I would also need to escape each html tag and add the symbol “>” to each line, which I thought would be a hassle, so I put them in the code block
You’d make it easier to read the original text if you posted it as code instead of a screenshot using a light font on a dark background, with too little contrast.
Remove the horrible table stuff around the code and the lines wrap just fine. You don’t need line numbers anyway, do you? And a table is semantically wrong, anyway.
It is still not a Hugo issue, so you should continue your quest in places dealing with HTML and CSS problems.