-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a <Listing>
preprocessor
#3918
Merged
Merged
Commits on May 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 000b3d0 - Browse repository at this point
Copy the full SHA 000b3d0View commit details
Commits on May 14, 2024
-
Implement an mdBook preprocessor for
<Listing>
sInstead of requiring a bunch of `<span>` wrangling, add a custom tag, `<Listing>`, whose attributes get rewritten into the desired output format, using `<figure>` and `<figcaption>` for improved semantic HTML. Support both a default (nice and fancy) HTML output mode and a “simple” mode to make it so we get the desired output format for the NoStarch input files as well.
Configuration menu - View commit details
-
Copy full SHA for e077891 - Browse repository at this point
Copy the full SHA e077891View commit details -
Configuration menu - View commit details
-
Copy full SHA for dad2b61 - Browse repository at this point
Copy the full SHA dad2b61View commit details -
Merge
mdbook-trpl-listing
into the repositoryThis does not yet update all the workspace dependencies to be shared between the listing and note preprocessors; it *only* integrates the repo histories.
Configuration menu - View commit details
-
Copy full SHA for 59a02b9 - Browse repository at this point
Copy the full SHA 59a02b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3254856 - Browse repository at this point
Copy the full SHA 3254856View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04841f7 - Browse repository at this point
Copy the full SHA 04841f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e65efe3 - Browse repository at this point
Copy the full SHA e65efe3View commit details -
infra: Convert one listing to use
<Listing>
- Add CSS for `figure.listing`; this now renders identically to how the existing listings render. - Convert the first listing in the book to use `<Listing>` instead of a bunch of `<span>`s.
Configuration menu - View commit details
-
Copy full SHA for 17c244a - Browse repository at this point
Copy the full SHA 17c244aView commit details
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.