Closed branflake2267 closed 11 years ago
Using the <pre>
tag manually is not really a great idea, as then you need to escape the HTML characters inside code manually. Like writing StoreRemoveHandler<Stock>
.
Is that b/c of the markdown parser?
Yes. The Markdown parser just looks at this as a blob of HTML and doesn't do any processing on it. This happens within any block-level HTML element.
I'd like to manually implement the prettify code formatting, but seems something odd happens when I add the code. The ending pre tag gets moved down the page. Not sure if some regex form the mark down editor is causing this.