feat: feature checklist pages, sidebar.yaml, checkbox styling#18
Merged
Conversation
- Add sidebar.yaml config with label, collapsed, hidden fields - Add markdown-it-footnote with custom renderer (no [1:1] duplicates) - Add markdown-it-task-lists for checkbox rendering - Add task-list checkbox CSS (green checked, gray unchecked, dark mode) - Fix ProjectShowcase to restrict to root pages
f658bf8 to
bc86558
Compare
Override only footnote_caption to drop the [1:1] sub-id from displayed
labels, instead of overriding footnote_ref. The previous renderer
hardcoded id="fnref{n}:{subId}", so single-reference footnotes got
id "fnref1:0" while the unmodified backref anchor still pointed at
"#fnref1" — breaking the return arrow in the common case.
0b696b0 to
e3f2493
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
sidebar.yamlsupport tosidebar.tswithlabel,collapsed,hiddenfields for groups and itemsmarkdown-it-footnoteplugin with custom renderer to avoid[1:1]duplicate notationmarkdown-it-task-listsplugin for- [x]/- [ ]checkbox renderingProjectShowcaseto restrict to root pagesTest plan
sidebar.yamlon rendered site[1:1]duplicates)hiddenfield hides items from sidebar navigation