-
Notifications
You must be signed in to change notification settings - Fork 360
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Add support for flexmark admonition extension https://github.com/vsch/flexmark-java/wiki/Admonition-Extension) which allows for easy creation of colored boxes ``` !!! note "Note" This is the note body. Full markdown content is allowed. ``` If we use the unmodified upstream javascript, the collapse toggle doesn't work. The provided function needs to be wrapped in an event listener. In order to facilitate maintenance, make only minimal changes to the upstream JS file and document them. When an admonition box is used in a list, the list item's text-indent attribute is applied to the boxed content as well. Thus, the text is not contained in the box any longer. This commit removes the text-indent from the box. Co-authored-by: Florian Tham <[email protected]> Co-authored-by: Gregor Santner <[email protected]>
- Loading branch information
1 parent
5ac79f9
commit a162bd8
Showing
6 changed files
with
328 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.