Describe the bug
Line control via the "ln" parameter is inconsistent between editing and reading views.
The lines switch on/off correctly in the editing view, but they are not affected in the reading view.
Steps to reproduce
- Create a new vault
- Install and enable Code Styler
- Create a note with the following body:
```sh ln:false
ls .
cat file
```
- Notice how removal and addition of the
ln:false tag affects the line numbers. Keep the tag in place.
- Switch to reading view.
- Notice how the line numbers are back, even though they are not supposed to be shown.
Expected behaviour
The ln codeblock tag has to affect both editing and reading views the same way. In case of ln:false, it has to hide line numbers in bot editing and reading views.
Current behaviour
The ln codeblock tag only affects the editing view, leaving the reading view unaffected.
Environment
- Plugin Version: 1.1.7
- Obsidian Version: 1.11.4
- Platform: Desktop
- OS: Linux
- Theme: Default
- CSS Snippets: No
Screenshots

Editing view.

Reading view.
Describe the bug
Line control via the "ln" parameter is inconsistent between editing and reading views.
The lines switch on/off correctly in the editing view, but they are not affected in the reading view.
Steps to reproduce
ln:falsetag affects the line numbers. Keep the tag in place.Expected behaviour
The
lncodeblock tag has to affect both editing and reading views the same way. In case ofln:false, it has to hide line numbers in bot editing and reading views.Current behaviour
The
lncodeblock tag only affects the editing view, leaving the reading view unaffected.Environment
Screenshots