-
Notifications
You must be signed in to change notification settings - Fork 34
👌 Improve admon plugin (add ???
support)
#58
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
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
56ce8d7
feat: start expanded set of markers
KyleKing 7ba7dcd
fix: correctly calculate marker_pos
KyleKing a21285d
fix: pass all tests when not separate by space
KyleKing 5132ec5
test: remove reST and add MkDocs tests
KyleKing 34d74cb
fix: indent is always 4 for admonitions
KyleKing 34d78a0
refactor: trim trailing new line in fixture
KyleKing 8238c9d
Merge branch 'master' into more-admon
KyleKing 5ca8028
fix: keep incoming change
KyleKing 137cbbd
test: add data_regression test
KyleKing 61e382f
ci: unprettier yaml
KyleKing 0c8ed1f
docs; expand admon docstring
KyleKing af05e78
test: generate data with prior version of the tool
KyleKing 0258a7f
test: update regression data with the current implementation
KyleKing e743570
Merge branch 'master' into more-admon
KyleKing 0859e50
Merge branch 'master' into more-admon
chrisjsewell f592d24
refactor: remove redundant markup on close
KyleKing d5ed5cb
refactor: add better docstrings and make functions private
KyleKing 5251beb
refactor: add the collapsible class name
KyleKing c5f278d
refactor: add is-collapsible
KyleKing File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
- attrs: | ||
- - class | ||
- admonition note | ||
block: true | ||
children: null | ||
content: Note | ||
hidden: false | ||
info: ' note' | ||
level: 0 | ||
map: | ||
- 0 | ||
- 2 | ||
markup: '!!!' | ||
meta: | ||
tag: note | ||
nesting: 1 | ||
tag: div | ||
type: admonition_open | ||
- attrs: | ||
- - class | ||
- admonition-title | ||
block: true | ||
children: null | ||
content: '' | ||
hidden: false | ||
info: '' | ||
level: 1 | ||
map: | ||
- 0 | ||
- 1 | ||
markup: '!!! note' | ||
meta: {} | ||
nesting: 1 | ||
tag: p | ||
type: admonition_title_open | ||
- attrs: null | ||
block: true | ||
children: | ||
- attrs: null | ||
block: false | ||
children: null | ||
content: Note | ||
hidden: false | ||
info: '' | ||
level: 0 | ||
map: null | ||
markup: '' | ||
meta: {} | ||
nesting: 0 | ||
tag: '' | ||
type: text | ||
content: Note | ||
hidden: false | ||
info: '' | ||
level: 2 | ||
map: | ||
- 0 | ||
- 1 | ||
markup: '' | ||
meta: {} | ||
nesting: 0 | ||
tag: '' | ||
type: inline | ||
- attrs: null | ||
block: true | ||
children: null | ||
content: '' | ||
hidden: false | ||
info: '' | ||
level: 1 | ||
map: null | ||
markup: '' | ||
meta: {} | ||
nesting: -1 | ||
tag: p | ||
type: admonition_title_close | ||
- attrs: null | ||
block: true | ||
children: null | ||
content: '' | ||
hidden: false | ||
info: '' | ||
level: 1 | ||
map: | ||
- 1 | ||
- 2 | ||
markup: '' | ||
meta: {} | ||
nesting: 1 | ||
tag: p | ||
type: paragraph_open | ||
- attrs: null | ||
block: true | ||
children: | ||
- attrs: null | ||
block: false | ||
children: null | ||
content: content 1 | ||
hidden: false | ||
info: '' | ||
level: 0 | ||
map: null | ||
markup: '' | ||
meta: {} | ||
nesting: 0 | ||
tag: '' | ||
type: text | ||
content: content 1 | ||
hidden: false | ||
info: '' | ||
level: 2 | ||
map: | ||
- 1 | ||
- 2 | ||
markup: '' | ||
meta: {} | ||
nesting: 0 | ||
tag: '' | ||
type: inline | ||
- attrs: null | ||
block: true | ||
children: null | ||
content: '' | ||
hidden: false | ||
info: '' | ||
level: 1 | ||
map: null | ||
markup: '' | ||
meta: {} | ||
nesting: -1 | ||
tag: p | ||
type: paragraph_close | ||
- attrs: null | ||
block: true | ||
children: null | ||
content: '' | ||
hidden: false | ||
info: '' | ||
level: 0 | ||
map: null | ||
markup: '!!!' | ||
meta: {} | ||
nesting: -1 | ||
tag: div | ||
type: admonition_close |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.