mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-09-06 00:47:15 -04:00
Add tests and documentation for strikethrough element
This commit is contained in:
@@ -510,6 +510,32 @@ Output:
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
### strikethrough
|
||||||
|
|
||||||
|
The `strikethrough` element represents strikethrough text.
|
||||||
|
|
||||||
|
#### Example
|
||||||
|
|
||||||
|
Markdown:
|
||||||
|
|
||||||
|
```markdown
|
||||||
|
~~Scratch this~~.
|
||||||
|
```
|
||||||
|
|
||||||
|
Style:
|
||||||
|
|
||||||
|
```json
|
||||||
|
"strikethrough": {
|
||||||
|
"crossed_out": true
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Output:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
### hr
|
### hr
|
||||||
|
|
||||||
The `hr` element represents a horizontal rule.
|
The `hr` element represents a horizontal rule.
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
~~Scratch this~~.
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 768 B |
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"strikethrough": {
|
||||||
|
"crossed_out": true
|
||||||
|
}
|
||||||
|
}
|
||||||
Vendored
+1
@@ -0,0 +1 @@
|
|||||||
|
[9m[0m[9m[0m[9mScratch this[0m. [0m[0m
|
||||||
Reference in New Issue
Block a user