You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an issue where code blocks are not displaying correctly in some of my nested lists. I am not sure if this is specific to lists or occurs in other scenarios. I have added the steps to reproduce below. The issue that happens is the start of the codeblock > does not have a blank line above it and it has whitespace in front of it causing issues with vim help syntax.
Thanks!
Run the command ./panvimdoc.sh --project-name test-code-block --input-file test-README.md
test-README.md
# test code blocks```lua print('code block at root') print('code block at root') print('code block at root')```- list ```lua print('code block in list') print('code block in list') print('code block in list') ``` - sublist - a ```lua print('a') print('a') print('a') ``` - b ```lua print('b') print('b') print('b') ```
Actual output
*test-code-block.txt* For Last change: 2023 November 04==============================================================================
Table of Contents *test-code-block-table-of-contents*1. test code blocks |test-code-block-test-code-blocks|
==============================================================================1. test code blocks *test-code-block-test-code-blocks*
>luaprint('code block at root')
print('code block at root')
print('code block at root')
<
-list
>luaprint('code block in list')
print('code block in list')
print('code block in list')
<- sublist
-a
>luaprint('a')
print('a')
print('a')
<-b
>luaprint('b')
print('b')
print('b')
<
Generated by panvimdoc <https://github.com/kdheepak/panvimdoc>vim:tw=78:ts=8:noet:ft=help:norl:
Expected output
*test-code-block.txt* For Last change: 2023 November 04==============================================================================
Table of Contents *test-code-block-table-of-contents*1. test code blocks |test-code-block-test-code-blocks|
==============================================================================1. test code blocks *test-code-block-test-code-blocks*
>luaprint('code block at root')
print('code block at root')
print('code block at root')
<
-list
>luaprint('code block in list')
print('code block in list')
print('code block in list')
<
- sublist
-a
>luaprint('a')
print('a')
print('a')
<
-b
>luaprint('b')
print('b')
print('b')
<
Generated by panvimdoc <https://github.com/kdheepak/panvimdoc>vim:tw=78:ts=8:noet:ft=help:norl:
Screenshot (actual on left, expected on right)
The text was updated successfully, but these errors were encountered:
Thanks for opening the issue. I've been swamped with work and personal life at the moment, and I'll look into this when I get the chance (hopefully in a few weeks?).
I have an issue where code blocks are not displaying correctly in some of my nested lists. I am not sure if this is specific to lists or occurs in other scenarios. I have added the steps to reproduce below. The issue that happens is the start of the codeblock
>
does not have a blank line above it and it has whitespace in front of it causing issues with vim help syntax.Thanks!
Run the command
./panvimdoc.sh --project-name test-code-block --input-file test-README.md
test-README.md
Actual output
Expected output
Screenshot (actual on left, expected on right)
The text was updated successfully, but these errors were encountered: