Rendering a multi-line literal as if a markdown text

I have a multiline string literal in toml, and want to preserve those lines in html, that is to say, put in paragraphs/<br>.

[[note]]
content = '''
Content Essai A
Content Essai B
'''

I thought .RenderString on .Content would do that, render the text as if it was a markdown file, but no, it’s seen as one big line. Did I miss something ?

Maybe that one:

Sorry, I forgot. I always forget things needless complications… hardwrap can be set on with toml, what a bother. I’ll mostly use paragraphs then !

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.