-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
A-Code-BlocksArea: Code blocksArea: Code blocksA-link-preprocessorArea: Link preprocessor, #{{include}}, etc.Area: Link preprocessor, #{{include}}, etc.
Description
When including parts of a file with #include and anchor is it possible to enable the "show hidden lines" button without showing the whole file as in #rustdoc_include ?
Something along the lines of
// More code
//ANCHOR_HIDDEN: foo
fn main() {
// ANCHOR: foo
let x = add_one(2);
// ANCHOR_END: foo
assert_eq!(x, 3);
}
fn add_one(num: i32) -> i32 {
num + 1
}
// ANCHOR_HIDDEN_END: foo
// More code
Metadata
Metadata
Assignees
Labels
A-Code-BlocksArea: Code blocksArea: Code blocksA-link-preprocessorArea: Link preprocessor, #{{include}}, etc.Area: Link preprocessor, #{{include}}, etc.