Skip to content

Commit e5abb86

Browse files
committed
Add remark-supersub for superscript and subscript Markdown shortcodes
1 parent ca3b2a1 commit e5abb86

12 files changed

Lines changed: 306 additions & 79 deletions

File tree

‎.cache/pages.json‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,16 @@
2222
"contact",
2323
"offline",
2424
{
25-
"privacy": ["my-data"]
25+
"privacy": [
26+
"my-data"
27+
]
2628
},
2729
{
28-
"services": ["consulting", "overview", "web-development"]
30+
"services": [
31+
"consulting",
32+
"overview",
33+
"web-development"
34+
]
2935
},
3036
{
3137
"tags": [
@@ -61,4 +67,4 @@
6167
"typescript"
6268
]
6369
}
64-
]
70+
]

‎_TODO.md‎

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -249,20 +249,6 @@ Calculations: {Math.PI * 2}.
249249
Components: { <MyComponent /> }
250250
```
251251

252-
### remark-supersub
253-
254-
Subscript and superscript text
255-
256-
```markdown
257-
~subscript~, e.g. a~i~
258-
259-
^superscript^, e.g. e^x^
260-
```
261-
262-
Subscript: a~i~
263-
264-
Superscript: e^x^
265-
266252
### remark-mark-plus
267253

268254
Inserts indicated text in a pair of `<mark>` elements
@@ -273,12 +259,6 @@ my ==marked== text
273259

274260
my ==marked== text
275261

276-
###
277-
278-
```markdown
279-
!!underline!!
280-
```
281-
282262
### Youtube embedding
283263

284264
- `rehype-video` for self-hosted videos, you have to pass the video filename into the unified `process()` pipeline along with the plugin

‎package-lock.json‎

Lines changed: 58 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@
115115
"remark-linkify-regex": "^1.2.1",
116116
"remark-parse": "^11.0.0",
117117
"remark-stringify": "^11.0.0",
118+
"remark-supersub": "^1.0.0",
118119
"resend": "^6.6.0",
119120
"retext": "^9.0.0",
120121
"retext-smartypants": "^6.2.0",

0 commit comments

Comments
 (0)