renderverbatim

Imports

ast, options, msgs

Procs

proc extractRunnableExamplesSource(conf: ConfigRef; n: PNode): string {...}{.
    raises: [], tags: [ReadIOEffect].}
TLineInfo.offsetA,offsetB would be cleaner but it's only enabled for nimpretty, we'd need to check performance impact to enable it for nimdoc. Source Edit
proc renderNimCode(result: var string; code: string; isLatex = false) {...}{.
    raises: [ValueError], tags: [].}
Source Edit

© 2006–2021 Andreas Rumpf
Licensed under the MIT License.
https://nim-lang.org/docs/compiler/renderverbatim.html