Titor8115 / mandown

man-page inspired Markdown viewer
GNU General Public License v3.0
243 stars 13 forks source link

Code blocks #28

Closed ghost closed 1 year ago

ghost commented 3 years ago

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

# echo hello
Titor8115 commented 3 years ago

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.

ghost commented 3 years ago

Στις Sun, 07 Feb 2021 11:28:10 -0800 Titor8115 notifications@github.com έγραψε:

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:nereus@freemail.gr Personal Pages: https://nicholas-christopoulos.dev Github repositories: https://github.com/nereusx

ghost commented 3 years ago

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

Titor8115 commented 3 years ago

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