Closed jodygarnett closed 4 months ago
Welcome to this project and thank you!' first issue
As a workaround I am going to try and post process the content to:
## Installing the Db2 extension {: #Db2_install }
Could be 🤔
For reference,
j2_comment_start_string
and j2_comment_end_string
.Are you willing to propose a PR and test whether it solves the problem for you?
My workaround (post processing) was successful ; but I know how frustrating it is if people do not report issues.
I am nominally a java developer so I am afraid I am embarrassed to try hacking at Python code.
comment_start_string
and comment_end_string
are documented as parameters@jodygarnett No problem. If you prefer, I can do the change and it might still be fun for you to have a look at the diff?
When I didn't know anything at all of Python, I chose a super simple and short manual called Python Phrasebook; it was easy reading, and I completed it in a couple of evenings. It gave the few central ideas on which I could build all the rest. You might need a more recent book, because it covers Python 2 (instead of Python 3), but it's the approach that worked for me.
I pushed an update on github with e.g.:
plugins:
- search
- macros:
j2_block_start_string: '[[%'
j2_block_end_string: '%]]'
j2_variable_start_string: '[['
j2_variable_end_string: ']]'
j2_comment_start_string: '[#'
j2_comment_end_string: '#]'
I also updated the new_syntax
website (in the test
directory) and checked that it works.
Could you try it for your use case and let me know if it works?
Yes happy to try, just need to figure out how to test from GitHub.
Thanks! The best thing is to git clone (or download zip) and install from there.
I have gotten stuck on an interesting challenge, I am cleaning up some docs converted with pandoc resulting in headers with attribute_list snippets information.
This falls squarely into the User Manual "Elsewhere" Solution 5
These settings are picked up:
But stumble on
{#identifier}
: