mandown icon indicating copy to clipboard operation
mandown copied to clipboard

Code blocks

Open nereusx opened this issue 5 years ago • 4 comments

You need to fix lines between lines that starting with ``` to not process them.

# echo hello

nereusx avatar Feb 07 '21 18:02 nereusx

Glad you saw my email! Do you mean not to show ```shell on the pager? I was thinking that could distinguish different languages, since syntax highlight isn't coming anytime soon.

Titor8115 avatar Feb 07 '21 19:02 Titor8115

Στις Sun, 07 Feb 2021 11:28:10 -0800 Titor8115 [email protected] έγραψε:

Glad you saw my email! Do you mean not to show ```shell on the pager? I was thinking that could distinguish different languages, since syntax highlight isn't coming anytime soon.

I sent you real example. This is my source (md2roff) to the man page of my new app.

You notice many "NAME" sections inside the code block (example block).

you have not show the ...whatever following and display the lines in between the second without processing.

-- Nicholas Christopoulos mailto:[email protected] Personal Pages: https://nicholas-christopoulos.dev Github repositories: https://github.com/nereusx

ghost avatar Feb 07 '21 20:02 ghost

https://github.com/nereusx/notes/blob/main/notes.md mdn-example notes-man-page

ghost avatar Feb 07 '21 22:02 ghost

I found the issue. mdn currently doesn't process blockquote ```. I'll try to address the issue in the new few patchs.

Titor8115 avatar Feb 08 '21 06:02 Titor8115