[voidcannon] fix code snippet expanding
This commit is contained in:
@@ -22,6 +22,10 @@ Voidcannon supports ||spoiler|| syntax to hide text until the user manually reve
|
|||||||
||Spoilers will cover everything within them (i.e :p3smile:) but will not visually adapt their height to them
|
||Spoilers will cover everything within them (i.e :p3smile:) but will not visually adapt their height to them
|
||||||
(due to the way they're made).||
|
(due to the way they're made).||
|
||||||
|
|
||||||
|
```md
|
||||||
|
Voidcannon supports ||spoiler|| syntax to hide text until the user manually reveals it.
|
||||||
|
```
|
||||||
|
|
||||||
## Media Player Playground
|
## Media Player Playground
|
||||||
|
|
||||||
The media player allows playback of YouTube videos.
|
The media player allows playback of YouTube videos.
|
||||||
@@ -728,15 +732,37 @@ message TrackInfoResponse {
|
|||||||
## HTML
|
## HTML
|
||||||
|
|
||||||
<p>This is some HTML text.</p>
|
<p>This is some HTML text.</p>
|
||||||
<marquee>Test</marquee>
|
<div>
|
||||||
<voidcannon-cta style="margin-top: 1em;">
|
<button>This is a button.</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
```html
|
||||||
|
<p>This is some HTML text.</p>
|
||||||
|
<div>
|
||||||
|
<button>This is a button.</button>
|
||||||
|
</div>
|
||||||
|
```
|
||||||
|
|
||||||
|
HTML in markdown can also include templates that get server-rendered.
|
||||||
|
|
||||||
|
<voidcannon-cta layout="button" style="margin-top: 1em;">
|
||||||
<md-icon slot="icon">convert_to_text</md-icon>
|
<md-icon slot="icon">convert_to_text</md-icon>
|
||||||
this is a cta rendered from a markdown document
|
this is a cta rendered from a markdown document
|
||||||
<button slot="button">pluh</button>
|
<md-filled-button slot="button">pluh</md-filled-button>
|
||||||
</voidcannon-cta>
|
</voidcannon-cta>
|
||||||
<br>
|
<br>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
|
```html
|
||||||
|
<voidcannon-cta layout="button" style="margin-top: 1em;">
|
||||||
|
<md-icon slot="icon">convert_to_text</md-icon>
|
||||||
|
this is a cta rendered from a markdown document
|
||||||
|
<md-filled-button slot="button">pluh</md-filled-button>
|
||||||
|
</voidcannon-cta>
|
||||||
|
<br>
|
||||||
|
<hr>
|
||||||
|
```
|
||||||
|
|
||||||
## Line Breaks
|
## Line Breaks
|
||||||
|
|
||||||
This is a line.<br>
|
This is a line.<br>
|
||||||
|
|||||||
Submodule voidcannon updated: 16911de9aa...6781d04733
Reference in New Issue
Block a user