Repository navigation
fix(render): keep markdown inside components in markdown/html #606
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -56,3 +56,16 @@ | |
| ``` | ||
| :: | ||
| ``` | ||
|
|
||
| ## Markdown HTML | ||
|
|
||
| ```md | ||
| <card> | ||
|
|
||
| ```mdc | ||
| ::accordion | ||
| :: | ||
| ``` | ||
|
|
||
| </card> | ||
| ``` | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -77,3 +77,18 @@ | |
| ### Heading | ||
| :: | ||
| ``` | ||
|
|
||
| ## Markdown HTML | ||
|
|
||
| ```md | ||
| - *item one* | ||
| <block> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Separate the block component from the preceding paragraph. CommonMark does not allow a custom HTML tag to interrupt a paragraph. Without a blank line before
|
||
|
|
||
| <template name="body"> | ||
|
|
||
| ### Heading | ||
|
|
||
| </template> | ||
|
|
||
| </block> | ||
| ``` | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -39,3 +39,13 @@ Hello | |
| Hello | ||
| :: | ||
| ``` | ||
|
|
||
| ## Markdown HTML | ||
|
|
||
| ```md | ||
| <card class="bg-[#111] text-[1.25rem]"> | ||
|
|
||
| Hello | ||
|
|
||
| </card> | ||
| ``` | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -32,3 +32,9 @@ | |
| ::component | ||
| :: | ||
| ``` | ||
|
|
||
| ## Markdown HTML | ||
|
|
||
| ```md | ||
| <component></component> | ||
| ``` | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -32,3 +32,9 @@ | |
| ::component | ||
| :: | ||
| ``` | ||
|
|
||
| ## Markdown HTML | ||
|
|
||
| ```md | ||
| <component></component> | ||
| ``` | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -57,3 +57,15 @@ Some :math[x] text. | |
| body | ||
| :: | ||
| ``` | ||
|
|
||
| ## Markdown HTML | ||
|
|
||
| ```md | ||
| Some <math>x</math> text. | ||
|
|
||
| <math k="v"> | ||
|
|
||
| body | ||
|
|
||
| </math> | ||
| ``` | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -59,3 +59,17 @@ hello | |
| ``` | ||
| :: | ||
| ``` | ||
|
|
||
| ## Markdown HTML | ||
|
|
||
| ```md | ||
| <component> | ||
|
|
||
| ```mdc | ||
| ::alert | ||
| hello | ||
| :: | ||
| ``` | ||
|
|
||
| </component> | ||
| ``` | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -57,3 +57,21 @@ text | |
| ::: | ||
| :: | ||
| ``` | ||
|
|
||
| ## Markdown HTML | ||
|
|
||
| ```md | ||
| <a-tabs> | ||
|
|
||
| <a-item> | ||
|
|
||
| <a-inner> | ||
|
|
||
| text | ||
|
|
||
| </a-inner> | ||
|
|
||
| </a-item> | ||
|
|
||
| </a-tabs> | ||
| ``` | ||
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.
Make the single-fixture command select the fixture.
The runner reads
npm_lifecycle_scriptfor-- -spec; it does not readSPEC. This command therefore loads the full fixture suite. Update the runner to acceptSPEC, or document a command that supplies the argument it reads.