-
Notifications
You must be signed in to change notification settings - Fork 37
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
Request to display Line Numbers in Code Blocks #176
Comments
When I was tested wiki.js, the Line Numbers on Code Blocks feature was a site setting that applied to entire installation. For me personally, this would be ideal since I would use it on all code blocks. But there may be other users that might want it on some code blocks and not others. In that case, your solution certainly looks easy enough to me. This is my first time working with markdown, so I would certainly defer to you on the best implementation. Thanks redimp! |
As requested in #176 code blocks can be configured to display line numbers by adding a = to the specified language. e.g. ```python= print("Hello Line Numbers!") ```
As requested in redimp#176 code blocks can be configured to display line numbers by adding a = to the specified language. e.g. ```python= print("Hello Line Numbers!") ```
Released in v2.9.0. |
Would it be possible to add an option to display line numbers in code blocks?
For example, as seen here or here.
Also, I wanted to take this opportunity to say Otterwiki is terrific! I've been exploring a lot of wiki projects over the past week looking for a solution to do better personal documentation. I've only been using it for a few days but it ticks all the boxes for me. Thank you for your work and for sharing this project!
The text was updated successfully, but these errors were encountered: