Done
PR made here : https://github.com/phpBB-Studio/PrismSy ... ter/pull/1
Let me know if changes are required.
Best regards
Done
[dark1]
Code: Select all
[code=lang line_num=yes]...[//code]
line_num=yes
is found as attribute of [code]...[/code]
then add CSS class line-numbers
to it.prism.js
file.[dark1]
That also can be taken care of via:
Code: Select all
[code=lang line_num=yes line_start=5]...[//code]
line_start={any_int}
is found as attribute of [code]...[/code]
then add HTML attribute data-start="{any_int}"
to it.Code: Select all
[code=lang line_num={any_int}]...[//code]
[dark1]
v1.0.0-RC on 10-May-2021
- Cumulative fixes
- Update library and themes to PrismJS 1.23.0
Nope. That's beyond the scope of this extension and the library itself.
Code: Select all
<div class="codebox"><p>{L_CODE}{L_COLON} <a href="#" onclick="selectCode(this); return false;">{L_SELECT_ALL_CODE}</a></p><pre class=" language-purebasic"><code class=" language-c">{TEXT}</code></pre></div>
Code: Select all
<div class="codebox"><p>{L_CODE}{L_COLON} <a href="#" onclick="selectCode(this); return false;">{L_SELECT_ALL_CODE}</a></p><pre class=" language-purebasic"><code class=" language-purebasic">{TEXT}</code></pre></div>
I could but I don't want to. My task here ends.