-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Viewports for markdown violate markdown lint MD022 #298
Comments
@NGenetzky do I understand correctly that adding a blank line below the viewport's heading (between the heading and the list of tasks) would suffice? |
@tbabej , yes I believe that is all that is necessary. |
This should solve one of the problems you run into when autoformatting markdown-files in vim |
taskwiki seems to behave strangely when blank line(s) are added between the For reference, vimwiki inserts a blank line between headers and automatically |
This allows the presence of empty lines between the task list and the header in a viewport, which is especially desirable to abide by standard Markdown conventions. The header spacing of existing viewports is preserved. For new Markdown task lists, the spacing now follows the one configured in vimwiki with `g:vimwiki_markdown_header_style`. GitHub: closes tools-life#298
This allows the presence of empty lines between the task list and the header in a viewport, which is especially desirable to abide by standard Markdown conventions. The header spacing of existing viewports is preserved. For new Markdown task lists, the spacing now follows the one configured in vimwiki with `g:vimwiki_markdown_header_style`. GitHub: closes tools-life#298
This allows the presence of empty lines between the task list and the header in a viewport, which is especially desirable to abide by standard Markdown conventions. The header spacing of existing viewports is preserved. For new Markdown task lists, the spacing now follows the one configured in vimwiki with `g:vimwiki_markdown_header_style`. GitHub: closes tools-life#298
Since the regexp for
VIEWPORT['markdown']
requires "Header beginning" (Note, this is also a typo).The text was updated successfully, but these errors were encountered: