-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Ref: 2i2c-org/infrastructure#5346 Add LinkOrButton renderer Co-authored-by: Angus Hollands <[email protected]> * Updated links and add initial styling * fix: style names * lint: prettier * Remove unused class from import * Revert "Remove unused class from import" This reverts commit da3d945. * Revert "lint: prettier" This reverts commit efb41a5. * refactor: use class only * wip: add support for xrefs * chore: run linter * chore: add changeset * fix: use tighter check for buttons * fix: revert previous rel * Update packages/myst-to-react/src/links/index.tsx * Add buttonRole to parser * Add buttonRole * Add myst-ext-button package --------- Co-authored-by: Angus Hollands <[email protected]> Co-authored-by: Angus Hollands <[email protected]> Co-authored-by: Rowan Cockett <[email protected]>
- Loading branch information
1 parent
de028cd
commit c2db8fb
Showing
12 changed files
with
111 additions
and
33 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'myst-to-react': patch | ||
'@myst-theme/styles': patch | ||
--- | ||
|
||
Render links with `button` class as buttons |
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
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
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.