feat: add image shortcode
This commit is contained in:
parent
189cc0a829
commit
ad435a16db
6 changed files with 446 additions and 9 deletions
|
@ -96,6 +96,14 @@ abbr {
|
|||
text-decoration-color: var(--color-primary);
|
||||
}
|
||||
|
||||
img[width] {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
img[width][height] {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
html:focus-within {
|
||||
scroll-behavior: auto;
|
||||
|
|
|
@ -19,7 +19,11 @@ _**This is bold and italic text.**_
|
|||
|
||||
Here is [a link](https://wonderfulfrog.com)
|
||||
|
||||

|
||||
{% image "https://wonderfulfrog.b-cdn.net/Pasted%20image%2020231125194810.png", "" %}
|
||||
{% image "https://wonderfulfrog.b-cdn.net/Pasted%20image%2020231125193029.png", "" %}
|
||||
{% image "https://wonderfulfrog.b-cdn.net/Pasted%20image%2020231125194601.png", "" %}
|
||||
|
||||
dsfgkjsldfgj
|
||||
|
||||
---
|
||||
|
||||
|
@ -248,7 +252,7 @@ This is HTML abbreviation example.
|
|||
|
||||
It converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on.
|
||||
|
||||
*[HTML]: Hyper Text Markup Language
|
||||
\*[HTML]: Hyper Text Markup Language
|
||||
|
||||
### [Custom containers](https://github.com/markdown-it/markdown-it-container)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue