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
Description
When writing tutorials, it's useful to only display parts of a file, so only line x to line y. The File highlight plugin should support this functionality.
The idea is that you can add an additional data-range attribute to the <pre> and it will only display the lines in that range. E.g. data-range="1,5".
Hooray! thanks for the infoz on how to build... I think this is good to go: #1813 - seems to be working on the page build and I over commented the additions in the source file just in case. 🤓
Note that I changed the File-Highlight plugin index.html to demonstrate it working. You may or may not want to keep this/let me know how you would like it to be if you need me to do that as well.
Description
When writing tutorials, it's useful to only display parts of a file, so only line x to line y. The File highlight plugin should support this functionality.
The idea is that you can add an additional
data-range
attribute to the<pre>
and it will only display the lines in that range. E.g.data-range="1,5"
.This should be compatible with Line numbers.
Continuation of #1810
The text was updated successfully, but these errors were encountered: