Skip to content

Commit

Permalink
Make leveloffset soft-set only for the guides
Browse files Browse the repository at this point in the history
Closes #532

Signed-off-by: Alexander Schwartz <[email protected]>
  • Loading branch information
ahus1 committed Dec 3, 2024
1 parent c5cf5c5 commit 4953492
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ private void buildGuide(Map<String, Object> attributes, Guides.Guide guide) thro
}

private void setCommonAttributes(Map<String, Object> attributes) {
attributes.put("leveloffset", "0");
// making this soft-set allows using level offsets when including content in the guides
attributes.put("leveloffset", "0@");

attributes.put("fragment", "yes");
attributes.put("notitle", "yes");
attributes.put("icons", "font");
Expand Down

0 comments on commit 4953492

Please sign in to comment.