This repository has been archived by the owner on Nov 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
RDMD Next #632
Merged
Merged
RDMD Next #632
Changes from all commits
Commits
Show all changes
57 commits
Select commit
Hold shift + click to select a range
7a26f9b
chore(markdown): skip empty magic code tabs
rafegoldberg 6c4cb29
chore(markdown): skip empty magic callouts
rafegoldberg 63aed06
chore(markdown): skip empty magic table blocks
rafegoldberg 3960215
test(markdown): add test for various magic block null cases
rafegoldberg 8ffebf1
fix(markdown): set nullcase defaults for MD callouts
rafegoldberg aef1ccd
style(markdown): custom callout icons base CSS
rafegoldberg 6d4747d
feat(markdown): add copy code button
rafegoldberg 2a8ecf7
style(markdown): variable-ize code blocks theme
rafegoldberg 05a0e50
style(api-explorer): update RDMD style overrides
rafegoldberg f134144
style(markdown): add shorthand lang remapping
rafegoldberg a82a583
chore(markdown): update lang remapping
rafegoldberg bcda1e0
chore(syntaxHighlighter): add dart highlighting
rafegoldberg 4da8c47
test(markdown): update code block expectations
rafegoldberg e350b2f
fix(markdown): unspaced code blocks
rafegoldberg d4805d0
fix(markdown): display images inline by default
rafegoldberg ae4bdbc
feat(markdown): add simple, vanilla lightbox solution
rafegoldberg 54b9fb1
style(markdown): better lightbox transitions
rafegoldberg 3779572
style(markdown): enwiden lightbox image widths
rafegoldberg 8981db1
chore(markdown): lint
rafegoldberg d2ba26a
polish(markdown)
rafegoldberg 628979c
test(markdown)
rafegoldberg 943a129
test(markdown): update snapshots
rafegoldberg 66b1b7b
test(markdown): update image expectations
rafegoldberg faa9603
fix(markdown): robust lang matching
rafegoldberg d02fb2a
style(markdown): rename root classes
rafegoldberg d8bba4c
BUILD
rafegoldberg 73b2cd7
BUILD
rafegoldberg 385c52b
lint(markdown): remove edge es syntax
rafegoldberg 86ae4e0
test(markdown): update codeblock expectations
rafegoldberg b6ac1e8
whoops
rafegoldberg 32c971b
BUILD
rafegoldberg 8d9ec59
fix(explorer): set VariablesContext from new markdown package
rafegoldberg ea0b46c
BUILD
rafegoldberg 082d68e
chore(markdown): nix extraneous logs
rafegoldberg d673c54
BUILD
rafegoldberg 41dddee
style(markdown): clean up copy button scroll interaction
rafegoldberg 18bfdd0
BUILD
rafegoldberg 4654fe8
test(markdown): missing line breaks shouldn't confuse single code blo…
rafegoldberg 2b67e73
#stablegenius
rafegoldberg 3b6f155
#myunclewenttoMIT
rafegoldberg 156c50e
test(markdown): update snapshots
rafegoldberg 9207c99
chore(markdown): wrap the RDMD tree in old and new context providers
rafegoldberg cceb8e8
BUILD
rafegoldberg e554d65
Add compatibility #section- ID after all headers (#642)
domharrington f5783b1
BUILD
rafegoldberg 6a24934
BUILD
rafegoldberg 2f79297
Merge branch 'master' of https://github.com/readmeio/api-explorer int…
rafegoldberg b87d071
BUILD
rafegoldberg 860d414
fix(markdown): trim trailing code tabs cruft
rafegoldberg 8740967
BUILD
rafegoldberg 6e0b9ba
style(markdown): add copy interaction state
rafegoldberg 6959860
BUILD
rafegoldberg bed69f6
chore(markdown): simplify code parser pattern
rafegoldberg 6a6d5a6
style(markdown): polish code copy ux
rafegoldberg 34ba442
test(markdown): update and meet expectations
rafegoldberg 4fa2929
chore(markdown): clean up debug cruft
rafegoldberg cb2d0fb
BUILD
rafegoldberg 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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
packages/markdown/__tests__/__snapshots__/components.test.js.snap
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 |
---|---|---|
@@ -1,9 +1,3 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Components Embed 1`] = `"<div class=\\"embed\\"><a href=\\"https://gist.github.com/chaddy81/f852004d6d1510eec1f6\\" rel=\\"noopener noreferrer\\" style=\\"display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-decoration: none;\\" target=\\"_blank\\"><b style=\\"color: rgb(51, 51, 51);\\">View Embed:</b> <span style=\\"opacity: 0.75;\\">https://gist.github.com/chaddy81/f852004d6d1510eec1f6</span></a></div>"`; | ||
|
||
exports[`Components Multi Code Block 1`] = ` | ||
"<div class=\\"CodeTabs\\"><div class=\\"CodeTabs-toolbar\\"><button type=\\"button\\">Text</button><button type=\\"button\\" class=\\"CodeTabs_active\\">Text</button></div><div class=\\"CodeTabs-inner\\"><pre><code data-lang=\\"\\" name=\\"\\"><span class=\\"cm-s-neo\\">hello | ||
</span></code></pre><pre class=\\"CodeTabs_active\\"><code data-lang=\\"\\" name=\\"\\"><span class=\\"cm-s-neo\\">world | ||
</span></code></pre></div></div>" | ||
`; |
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@erunion per some of my comments on this issue, I've double-wrapped the explorer's doc contents in both the old and new context providers. This is super verbose/redundant solution, but an interim one. I just haven't had a chance to go through and switch out all the references.