Add configuration option to disable the default hidelines feature for rust#2518
Add configuration option to disable the default hidelines feature for rust#2518zgtm wants to merge 1 commit intorust-lang:masterfrom
Conversation
9b4cf94 to
6d7839b
Compare
You can use two consecutive hashes |
|
Hi @max-heller, thanks for the hint! Unfortunately this will not work in my case, as I'm trying to include the code from a source file via (One could argue whether the line hiding mechanism should be disabled completely for included sources via |
This comment has been minimized.
This comment has been minimized.
861e47b to
150f9c8
Compare
|
Updated to
|
This comment has been minimized.
This comment has been minimized.
150f9c8 to
3e8fc07
Compare
|
This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
fb25e5a to
75aca73
Compare
75aca73 to
3a7e499
Compare
|
Rebased onto the new HTML rendering pipeline (#2844). |
Simple change that adds a configuration option to disable the default hidelines feature for rust:
Usage:
I need this in my book since I have several multi-line strings that have lines starting with
#. (Embedded code snippets with preprocessor directives.)Let me know if this needs a test.If you want I can also add a line to the manual, but since this is a niche feature, the doc string might just be enough. :)
[Edit: Added a test]