Using markdown-it-attrs with code fences#33
Using markdown-it-attrs with code fences#33simondean wants to merge 2 commits intoMermade:masterfrom
Conversation
|
Hi @MikeRalphson. I was wondering whether this PR would be suitable for including in The approach the PR takes is based on the following couple of comments:
The code I've implemented in the Let me know if there's any info I can add. Thanks |
|
Looks good. I just need to find the time to test it doesn't affect the existing output. Thanks for your patience. |
|
No worries. Thanks @MikeRalphson |
|
When comparing the before and after output, I see each of the code blocks differs as per this example: -<pre class="highlight tab tab-shell"><code><span class="hljs-comment"># You can also use wget</span>
+<pre><code class="highlight tab tab-shell"><span class="hljs-comment"># You can also use wget</span>Could the |
|
I've tried this update, but it doesn't seem to add the style. The linked markdown issue suggests that adding the attributes should be in the form: But that doesn't seem to do anything in the generated code block. I would expect that |
|
Please re-raise over on slant if still an issue. |
This PR is related to issue #30