mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
Corretions
This commit is contained in:
parent
4a9e2433df
commit
92cfcd67f5
@ -7,6 +7,7 @@ paginate = 3
|
|||||||
languageCode = "en"
|
languageCode = "en"
|
||||||
DefaultContentLanguage = "en"
|
DefaultContentLanguage = "en"
|
||||||
enableInlineShortcodes = true
|
enableInlineShortcodes = true
|
||||||
|
footnoteReturnLinkContents = "^"
|
||||||
|
|
||||||
[menu]
|
[menu]
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
enableInlineShortcodes = true
|
||||||
|
footnoteReturnLinkContents = "^"
|
||||||
|
|
||||||
[taxonomies]
|
[taxonomies]
|
||||||
category = "categories"
|
category = "categories"
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">
|
|
||||||
<metadata>
|
|
||||||
<rdf:RDF xmlns:cc="http://web.resource.org/cc/"
|
|
||||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
||||||
xmlns:dc = "http://purl.org/dc/elements/1.1/"
|
|
||||||
>
|
|
||||||
|
|
||||||
<rdf:Description rdf:about="">
|
|
||||||
<dc:title>Mutant Standard emoji v0.3.1</dc:title>
|
|
||||||
</rdf:Description>
|
|
||||||
|
|
||||||
<cc:work rdf:about="">
|
|
||||||
<cc:license rdf:resource="http://creativecommons.org/licenses/by-nc-sa/4.0/"/>
|
|
||||||
<cc:attributionName>Dzuk</cc:attributionName>
|
|
||||||
<cc:attributionURL>http://mutant.tech/</cc:attributionURL>
|
|
||||||
</cc:work>
|
|
||||||
|
|
||||||
</rdf:RDF>
|
|
||||||
</metadata>
|
|
||||||
<g id="comp."><rect id="cannabis_leaf" x="0" y="0" width="32" height="32" style="fill:none;"/><clipPath id="_clip1"><rect id="cannabis_leaf1" serif:id="cannabis_leaf" x="0" y="0" width="32" height="32"/></clipPath><g clip-path="url(#_clip1)"><g id="Layer2"><path d="M16,22c0,0 -0.619,-1.239 -1.422,-2.845c-2.253,-4.504 -2.253,-9.806 0,-14.31c0.803,-1.606 1.422,-2.845 1.422,-2.845c0,0 0.619,1.239 1.422,2.845c2.253,4.504 2.253,9.806 0,14.31c-0.803,1.606 -1.422,2.845 -1.422,2.845Z" style="fill:none;stroke:#000;stroke-width:4px;"/><path d="M16,22c0,0 0.758,-1.517 1.615,-3.23c1.548,-3.096 4.059,-5.607 7.155,-7.155c1.713,-0.857 3.23,-1.615 3.23,-1.615c0,0 -0.758,1.517 -1.615,3.23c-1.548,3.096 -4.059,5.607 -7.155,7.155c-1.713,0.857 -3.23,1.615 -3.23,1.615Z" style="fill:none;stroke:#000;stroke-width:4px;"/><path d="M16,21c0,0 0,0 0,0c4.407,-2.203 9.593,-2.203 14,0c0,0 0,0 0,0c0,0 0,0 0,0c-4.407,2.203 -9.593,2.203 -14,0c0,0 0,0 0,0Z" style="fill:none;stroke:#000;stroke-width:4px;"/><path d="M16,22c0,0 0.653,0 1.528,0c2.741,0 5.246,1.549 6.472,4c0,0 0,0 0,0c0,0 -0.653,0 -1.528,0c-2.741,0 -5.246,-1.549 -6.472,-4c0,0 0,0 0,0Z" style="fill:none;stroke:#000;stroke-width:4px;"/><path d="M16,22c0,0 -0.653,0 -1.528,0c-2.741,0 -5.246,1.549 -6.472,4c0,0 0,0 0,0c0,0 0.653,0 1.528,0c2.741,0 5.246,-1.549 6.472,-4c0,0 0,0 0,0Z" style="fill:none;stroke:#000;stroke-width:4px;"/><path d="M2,21c0,0 0,0 0,0c4.407,-2.203 9.593,-2.203 14,0c0,0 0,0 0,0c0,0 0,0 0,0c-4.407,2.203 -9.593,2.203 -14,0c0,0 0,0 0,0Z" style="fill:none;stroke:#000;stroke-width:4px;"/><path d="M16,22c0,0 -0.758,-1.517 -1.615,-3.23c-1.548,-3.096 -4.059,-5.607 -7.155,-7.155c-1.713,-0.857 -3.23,-1.615 -3.23,-1.615c0,0 0.758,1.517 1.615,3.23c1.548,3.096 4.059,5.607 7.155,7.155c1.713,0.857 3.23,1.615 3.23,1.615Z" style="fill:none;stroke:#000;stroke-width:4px;"/><rect x="15" y="25" width="2" height="5" style="fill:none;stroke:#000;stroke-width:4px;stroke-linejoin:miter;"/></g><g id="Layer1"><path d="M16,22c0,0 -0.619,-1.239 -1.422,-2.845c-2.253,-4.504 -2.253,-9.806 0,-14.31c0.803,-1.606 1.422,-2.845 1.422,-2.845c0,0 0.619,1.239 1.422,2.845c2.253,4.504 2.253,9.806 0,14.31c-0.803,1.606 -1.422,2.845 -1.422,2.845Z" style="fill:#219555;"/><path d="M16,22c0,0 0.758,-1.517 1.615,-3.23c1.548,-3.096 4.059,-5.607 7.155,-7.155c1.713,-0.857 3.23,-1.615 3.23,-1.615c0,0 -0.758,1.517 -1.615,3.23c-1.548,3.096 -4.059,5.607 -7.155,7.155c-1.713,0.857 -3.23,1.615 -3.23,1.615Z" style="fill:#219555;"/><path d="M16,21c0,0 0,0 0,0c4.407,-2.203 9.593,-2.203 14,0c0,0 0,0 0,0c0,0 0,0 0,0c-4.407,2.203 -9.593,2.203 -14,0c0,0 0,0 0,0Z" style="fill:#219555;"/><path d="M16,22c0,0 0.653,0 1.528,0c2.741,0 5.246,1.549 6.472,4c0,0 0,0 0,0c0,0 -0.653,0 -1.528,0c-2.741,0 -5.246,-1.549 -6.472,-4c0,0 0,0 0,0Z" style="fill:#219555;"/><path d="M16,22c0,0 -0.653,0 -1.528,0c-2.741,0 -5.246,1.549 -6.472,4c0,0 0,0 0,0c0,0 0.653,0 1.528,0c2.741,0 5.246,-1.549 6.472,-4c0,0 0,0 0,0Z" style="fill:#219555;"/><path d="M2,21c0,0 0,0 0,0c4.407,-2.203 9.593,-2.203 14,0c0,0 0,0 0,0c0,0 0,0 0,0c-4.407,2.203 -9.593,2.203 -14,0c0,0 0,0 0,0Z" style="fill:#219555;"/><path d="M16,22c0,0 -0.758,-1.517 -1.615,-3.23c-1.548,-3.096 -4.059,-5.607 -7.155,-7.155c-1.713,-0.857 -3.23,-1.615 -3.23,-1.615c0,0 0.758,1.517 1.615,3.23c1.548,3.096 4.059,5.607 7.155,7.155c1.713,0.857 3.23,1.615 3.23,1.615Z" style="fill:#219555;"/><rect x="15" y="15" width="2" height="15" style="fill:#219555;"/></g><path d="M13,20l3,-3l3,3l0,3l-6,0l0,-3Z" style="fill:#219555;"/></g></g></svg>
|
|
Before Width: | Height: | Size: 4.4 KiB |
@ -1,45 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
||||||
<svg width="100%" height="100%" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;">
|
|
||||||
<metadata>
|
|
||||||
<rdf:RDF xmlns:cc="http://web.resource.org/cc/"
|
|
||||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
||||||
xmlns:dc = "http://purl.org/dc/elements/1.1/"
|
|
||||||
>
|
|
||||||
|
|
||||||
<rdf:Description rdf:about="">
|
|
||||||
<dc:title>Mutant Standard emoji v0.3.1</dc:title>
|
|
||||||
</rdf:Description>
|
|
||||||
|
|
||||||
<cc:work rdf:about="">
|
|
||||||
<cc:license rdf:resource="http://creativecommons.org/licenses/by-nc-sa/4.0/"/>
|
|
||||||
<cc:attributionName>Dzuk</cc:attributionName>
|
|
||||||
<cc:attributionURL>http://mutant.tech/</cc:attributionURL>
|
|
||||||
</cc:work>
|
|
||||||
|
|
||||||
</rdf:RDF>
|
|
||||||
</metadata>
|
|
||||||
|
|
||||||
<rect id="orc" x="0" y="0" width="32" height="32" style="fill:none;"/>
|
|
||||||
<clipPath id="_clip1">
|
|
||||||
<rect x="0" y="0" width="32" height="32"/>
|
|
||||||
</clipPath>
|
|
||||||
<g clip-path="url(#_clip1)">
|
|
||||||
<g id="outline">
|
|
||||||
<path d="M4.261,9.504c0.107,-0.506 0.246,-1.004 0.418,-1.492c0.578,-1.641 1.519,-3.15 2.735,-4.395c1.248,-1.279 2.781,-2.274 4.46,-2.888c0.839,-0.308 1.713,-0.52 2.6,-0.633c0.455,-0.058 0.913,-0.086 1.371,-0.095c0.156,-0.001 0.155,-0.001 0.31,0c0.458,0.009 0.916,0.037 1.371,0.095c0.887,0.113 1.761,0.325 2.6,0.633c1.679,0.614 3.212,1.609 4.46,2.888c1.216,1.245 2.157,2.754 2.735,4.395c0.172,0.488 0.311,0.986 0.418,1.492l3.953,-0.989c0.103,0.08 0.205,0.16 0.308,0.24c0,2.445 0.017,4.889 -0.001,7.333c-0.002,0.089 -0.005,0.176 -0.009,0.264c-0.031,0.465 -0.109,0.924 -0.242,1.37c-0.257,0.856 -0.706,1.651 -1.307,2.312c-0.254,0.28 -0.535,0.533 -0.835,0.762l-1.739,1.304c-0.051,0.335 -0.115,0.668 -0.194,0.998c-0.404,1.696 -1.181,3.298 -2.263,4.665c-0.479,0.606 -1.018,1.158 -1.6,1.664c-0.381,0.322 -0.765,0.639 -1.147,0.958c-0.235,0.191 -0.477,0.37 -0.732,0.532c-0.683,0.431 -1.441,0.743 -2.23,0.918c-0.447,0.099 -0.9,0.148 -1.358,0.163c-1.514,0.017 -3.029,0.002 -4.544,0.002c-0.353,-0.004 -0.704,-0.028 -1.053,-0.081c-0.749,-0.115 -1.477,-0.353 -2.15,-0.701c-0.393,-0.203 -0.761,-0.445 -1.111,-0.715l-0.749,1.497l-5.736,0l0,-10.745c-0.224,-0.169 -0.447,-0.339 -0.67,-0.508c-0.07,-0.055 -0.138,-0.11 -0.206,-0.167c-0.353,-0.303 -0.673,-0.64 -0.95,-1.015c-0.531,-0.719 -0.898,-1.555 -1.066,-2.432c-0.072,-0.372 -0.105,-0.748 -0.108,-1.126l0,-7.252l0.308,-0.24l3.953,0.989Z"/>
|
|
||||||
</g>
|
|
||||||
<g id="emoji">
|
|
||||||
<path d="M5,30l2.5,0l2.5,-5l0,-12l-5,0l0,17Z" style="fill:#1c2c12;"/>
|
|
||||||
<path d="M30,12.031l-2.393,7.764l-3.607,2.705l0,-10l6,-1.5l0,1.031Z" style="fill:#77b84c;"/>
|
|
||||||
<path d="M30,12.031l0,3.969c0,1.259 -0.593,2.445 -1.6,3.2l-0.793,0.595c-0.378,-0.366 -0.607,-0.878 -0.607,-1.435l0,-5.579l3,-0.75Z" style="fill:#618e29;"/>
|
|
||||||
<path d="M2,12.031l2.393,7.764l3.607,2.705l0,-10l-6,-1.5l0,1.031Z" style="fill:#77b84c;"/>
|
|
||||||
<path d="M2,12.031l0,3.969c0,1.259 0.593,2.445 1.6,3.2l0.793,0.595c0.378,-0.366 0.607,-0.878 0.607,-1.435l0,-5.579l-3,-0.75Z" style="fill:#618e29;"/>
|
|
||||||
<path d="M22.001,4c2.428,1.824 3.999,4.729 3.999,8c0,2.893 0,5.915 0,8.316c0,2.968 -1.318,5.783 -3.598,7.682c-0.356,0.297 -0.7,0.584 -1.011,0.843c-0.899,0.749 -2.032,1.159 -3.201,1.159c-1.309,0 -3.071,0 -4.38,0c-1.169,0 -2.302,-0.41 -3.201,-1.159c-0.311,-0.259 -0.655,-0.546 -1.011,-0.843c-2.28,-1.899 -3.598,-4.714 -3.598,-7.682l0,-8.222l0,-0.094l16,-8l0.001,0Z" style="fill:#77b84c;"/>
|
|
||||||
<path d="M8.036,14.555c-0.204,-0.307 -0.223,-0.702 -0.049,-1.027c0.174,-0.325 0.513,-0.528 0.882,-0.528c1.034,0 2.28,0 3.131,0c0.552,0 1,0.448 1,1c0,0.322 0,0.678 0,1c0,0.552 -0.448,1 -1,1c-0.781,0 -1.837,0 -2.465,0c-0.334,0 -0.646,-0.167 -0.832,-0.445c-0.18,-0.271 -0.422,-0.633 -0.667,-1Zm15.928,0c0.204,-0.307 0.223,-0.702 0.049,-1.027c-0.174,-0.325 -0.513,-0.528 -0.882,-0.528c-1.034,0 -2.28,0 -3.131,0c-0.552,0 -1,0.448 -1,1c0,0.322 0,0.678 0,1c0,0.552 0.448,1 1,1c0.781,0 1.837,0 2.465,0c0.334,0 0.646,-0.167 0.832,-0.445c0.18,-0.271 0.422,-0.633 0.667,-1Z"/>
|
|
||||||
<path d="M19.316,19.949c-0.709,0.236 -1.416,0.479 -2.128,0.708c-0.078,0.024 -0.155,0.045 -0.234,0.065c-0.47,0.111 -0.953,0.145 -1.434,0.087c-0.24,-0.029 -0.476,-0.082 -0.708,-0.152l-0.072,-0.023l-2.056,-0.685l0.632,-1.898c0.71,0.237 1.413,0.493 2.129,0.708c0.065,0.018 0.13,0.033 0.196,0.046c0.32,0.055 0.642,0.036 0.953,-0.058l0.043,-0.014l2.047,-0.682c0.211,0.633 0.421,1.265 0.632,1.898Z" style="fill:#456e17;fill-rule:nonzero;"/>
|
|
||||||
<path d="M12,24l-3,0l1,-4l2,4Zm11,0l-1,-4l-2,4l3,0Z" style="fill:#fff;"/>
|
|
||||||
<path d="M22.838,22.513l0.624,1.872l-0.014,0.008c-1.156,0.579 -2.307,1.17 -3.47,1.739c-0.179,0.083 -0.364,0.152 -0.556,0.2c-0.384,0.097 -0.781,0.113 -1.173,0.059c-0.716,-0.113 -1.426,-0.275 -2.146,-0.358c-0.083,-0.008 -0.166,-0.006 -0.248,0.005c-0.723,0.113 -1.441,0.26 -2.166,0.359c-0.177,0.02 -0.353,0.028 -0.53,0.019c-0.375,-0.019 -0.738,-0.111 -1.081,-0.261c-1.192,-0.553 -2.35,-1.173 -3.525,-1.761c-0.005,-0.002 -0.01,-0.005 -0.015,-0.008l0.624,-1.873c0.025,0.004 0.05,0.009 0.075,0.015c0.074,0.018 0.141,0.046 0.21,0.078c1.163,0.581 2.29,1.241 3.491,1.741c0.166,0.066 0.342,0.087 0.519,0.063c0.705,-0.111 1.406,-0.241 2.11,-0.351c0.29,-0.039 0.578,-0.039 0.867,0.001c0.723,0.113 1.438,0.289 2.166,0.36c0.179,0.014 0.355,-0.018 0.518,-0.094c1.15,-0.562 2.289,-1.147 3.434,-1.721c0.06,-0.028 0.075,-0.036 0.138,-0.057c0.049,-0.016 0.098,-0.027 0.148,-0.035Z" style="fill:#456e17;"/>
|
|
||||||
<path d="M6,12c0,-5.523 4.477,-10 10,-10c0,0 0,0 0,0c2.251,0 4.329,0.744 6,1.999l0,1.93c0,1.326 -0.527,2.598 -1.464,3.535c-2.55,2.55 -7.536,7.536 -7.536,7.536l0,-6l-7,7l0,-5.969l0,-0.031Z" style="fill:#1c2c12;"/>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 5.8 KiB |
@ -31,37 +31,8 @@ font-family: Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,And
|
|||||||
}
|
}
|
||||||
{{< /highlight >}}
|
{{< /highlight >}}
|
||||||
|
|
||||||
***
|
|
||||||
|
|
||||||
|
|
||||||
If you feel restricted by Unicode Standard emoji and want to use custom emoji the [`replaceRE`](https://gohugo.io/functions/replacere/#readout) function makes it easy to perform Static Image Replacement in Hugo.
|
|
||||||
|
|
||||||
In this example we will be using emoji from the [Mutant Standard](https://mutant.tech/) set.
|
|
||||||
|
|
||||||
- Do not use `enableEmoji` in your Hugo project's configuration
|
|
||||||
|
|
||||||
- Store the icons of the custom emoji set under `/static/`
|
|
||||||
|
|
||||||
- Use the shorthand codes provided by the custom emoji set in your content files e.g. `:orc:`
|
|
||||||
|
|
||||||
- In your templates execute the Image Replacement like so:
|
|
||||||
|
|
||||||
{{< highlight html >}}
|
|
||||||
{{ replaceRE "(\\:([a-zA-Z0-9_]*)\\:)" `<img class="emoji" src="/${2}.svg" alt="${1}" title="${1}">` .Content | markdownify | safeHTML }}
|
|
||||||
{{< /highlight >}}
|
|
||||||
|
|
||||||
|
|
||||||
{{< css.inline >}}
|
{{< css.inline >}}
|
||||||
<p>{{ replaceRE "(\\ :([a-zA-Z0-9_]*)\\: )" `<img class="emoji" src="/${2}.svg" alt="${1}" title="${1}">` .Page.Params.emoji | safeHTML }}</p>
|
|
||||||
<style>
|
<style>
|
||||||
.emoji {
|
|
||||||
display: inline-block;
|
|
||||||
margin-left: 3px;
|
|
||||||
margin-right: 3px;
|
|
||||||
height: 5.5rem;
|
|
||||||
width: 5.5rem;
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
.emojify {
|
.emojify {
|
||||||
font-family: Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols;
|
font-family: Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols;
|
||||||
font-size: 5rem;
|
font-size: 5rem;
|
||||||
@ -75,6 +46,3 @@ In this example we will be using emoji from the [Mutant Standard](https://mutant
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
{{< /css.inline >}}
|
{{< /css.inline >}}
|
||||||
|
|
||||||
|
|
||||||
**N.B.** The above RegEx captures all alphanumerics and underscores within two colon `:` characters (amend it according to your custom emoji set's specification).
|
|
@ -1,6 +1,6 @@
|
|||||||
+++
|
+++
|
||||||
author = "Hugo Authors"
|
author = "Hugo Authors"
|
||||||
title = "Markdown & HTML Syntax Guide"
|
title = "Markdown Syntax Guide"
|
||||||
date = "2019-03-11"
|
date = "2019-03-11"
|
||||||
description = "Sample article showcasing basic Markdown syntax and formatting for HTML elements."
|
description = "Sample article showcasing basic Markdown syntax and formatting for HTML elements."
|
||||||
tags = [
|
tags = [
|
||||||
@ -17,9 +17,8 @@ series = ["Themes Guide"]
|
|||||||
aliases = ["migrate-from-jekyl"]
|
aliases = ["migrate-from-jekyl"]
|
||||||
+++
|
+++
|
||||||
|
|
||||||
This article offers a sample of basic Markdown and HTML syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme.
|
This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme.
|
||||||
<!--more-->
|
<!--more-->
|
||||||
***
|
|
||||||
|
|
||||||
## Headings
|
## Headings
|
||||||
|
|
||||||
@ -32,82 +31,47 @@ The following HTML `<h1>`—`<h6>` elements represent six levels of section head
|
|||||||
##### H5
|
##### H5
|
||||||
###### H6
|
###### H6
|
||||||
|
|
||||||
***
|
|
||||||
|
|
||||||
## Paragraph
|
## Paragraph
|
||||||
|
|
||||||
Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat.
|
Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat.
|
||||||
|
|
||||||
Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.
|
Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Blockquotes
|
## Blockquotes
|
||||||
|
|
||||||
The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a `footer` or `cite` element, and optionally with in-line changes such as annotations and abbreviations.
|
The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a `footer` or `cite` element, and optionally with in-line changes such as annotations and abbreviations.
|
||||||
|
|
||||||
<h5>Blockquote without attribution</h5>
|
#### Blockquote without attribution
|
||||||
|
|
||||||
> Tiam, ad mint andaepu dandae nostion secatur sequo quae.
|
> Tiam, ad mint andaepu dandae nostion secatur sequo quae.
|
||||||
> **Note** that you can use *Markdown syntax* within a blockquote.
|
> **Note** that you can use *Markdown syntax* within a blockquote.
|
||||||
|
|
||||||
<h5>Blockquote with attribution</h5>
|
#### Blockquote with attribution
|
||||||
|
|
||||||
<blockquote>
|
> Don't communicate by sharing memory, share memory by communicating.</p>
|
||||||
<p>Don't communicate by sharing memory, share memory by communicating.</p>
|
> — <cite>Rob Pike[^1]</cite>
|
||||||
<footer>— <cite>Rob Pike</cite></footer>
|
|
||||||
</blockquote>
|
|
||||||
|
|
||||||
###### The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015.
|
|
||||||
|
|
||||||
***
|
[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015.
|
||||||
|
|
||||||
## Tables
|
## Tables
|
||||||
|
|
||||||
Tables aren't part of the core Markdown spec, but Hugo supports supports them out-of-the-box.
|
Tables aren't part of the core Markdown spec, but Hugo supports supports them out-of-the-box.
|
||||||
|
|
||||||
<h5>Markdown Input</h5>
|
|
||||||
|
|
||||||
```
|
|
||||||
Name | Age
|
|
||||||
--------|------
|
|
||||||
Bob | 27
|
|
||||||
Alice | 23
|
|
||||||
```
|
|
||||||
<h5>HTML Output</h5>
|
|
||||||
|
|
||||||
Name | Age
|
Name | Age
|
||||||
--------|------
|
--------|------
|
||||||
Bob | 27
|
Bob | 27
|
||||||
Alice | 23
|
Alice | 23
|
||||||
|
|
||||||
<br>
|
#### Inline Markdown within tables
|
||||||
|
|
||||||
|
|
||||||
<h4>Sample Inline Markdown within tables</h4>
|
|
||||||
|
|
||||||
<h5>Markdown Input</h5>
|
|
||||||
|
|
||||||
```
|
|
||||||
| Inline | Markdown | In | Table |
|
|
||||||
| ---------- | --------- | ----------------- | ---------- |
|
|
||||||
| *italics* | **bold** | ~~strikethrough~~ | `code` |
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
<h5>HTML Output</h5>
|
|
||||||
|
|
||||||
| Inline | Markdown | In | Table |
|
| Inline | Markdown | In | Table |
|
||||||
| ---------- | --------- | ----------------- | ---------- |
|
| ---------- | --------- | ----------------- | ---------- |
|
||||||
| *italics* | **bold** | ~~strikethrough~~ | `code` |
|
| *italics* | **bold** | ~~strikethrough~~ | `code` |
|
||||||
|
|
||||||
<br>
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Code Blocks
|
## Code Blocks
|
||||||
|
|
||||||
<h5>Code block with backticks </h5>
|
#### Code block with backticks
|
||||||
|
|
||||||
```
|
```
|
||||||
html
|
html
|
||||||
@ -122,8 +86,7 @@ html
|
|||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
```
|
```
|
||||||
<br>
|
#### Code block indented with four spaces
|
||||||
<h5>Code block indented with four spaces</h5>
|
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
@ -136,8 +99,7 @@ html
|
|||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
<br>
|
#### Code block with Hugo's internal highlight shortcode
|
||||||
<h5>Code block with Hugo's internal highlight shortcode</h5>
|
|
||||||
{{< highlight html >}}
|
{{< highlight html >}}
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
@ -151,83 +113,25 @@ html
|
|||||||
</html>
|
</html>
|
||||||
{{< /highlight >}}
|
{{< /highlight >}}
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## List Types
|
## List Types
|
||||||
|
|
||||||
### Ordered List
|
#### Ordered List
|
||||||
|
|
||||||
1. First item
|
1. First item
|
||||||
2. Second item
|
2. Second item
|
||||||
3. Third item
|
3. Third item
|
||||||
|
|
||||||
<br>
|
#### Unordered List
|
||||||
### Unordered List
|
|
||||||
|
|
||||||
<h5>Markdown Input</h5>
|
|
||||||
|
|
||||||
```
|
|
||||||
* List item
|
* List item
|
||||||
* Another item
|
* Another item
|
||||||
* And another item
|
* And another item
|
||||||
```
|
|
||||||
|
|
||||||
<h5>HTML Output</h5>
|
#### Nested list
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>List item</li>
|
|
||||||
<li>Another item</li>
|
|
||||||
<li>And another item</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<br>
|
|
||||||
### Nested list
|
|
||||||
|
|
||||||
<h5>Markdown Input</h5>
|
|
||||||
|
|
||||||
```
|
|
||||||
* Item
|
* Item
|
||||||
1. First Sub-item
|
1. First Sub-item
|
||||||
2. Second Sub-item
|
2. Second Sub-item
|
||||||
```
|
|
||||||
|
|
||||||
<h5>HTML Output</h5>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Item</li>
|
|
||||||
<ol>
|
|
||||||
<li>First Sub-item</li>
|
|
||||||
<li>Second Sub-item</li>
|
|
||||||
</ol>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<br>
|
|
||||||
### Definition List
|
|
||||||
|
|
||||||
<h5>HTML Input</h5>
|
|
||||||
|
|
||||||
```
|
|
||||||
<dl>
|
|
||||||
<dt>Aque venitatiusda cum</dt>
|
|
||||||
<dd>Voluptionse latur sitiae dolessi...</dd>
|
|
||||||
<dt>Dantinc itiur</dt>
|
|
||||||
<dd>Axim reperum ese eaquam, coriatiorita...</dd>
|
|
||||||
</dl>
|
|
||||||
```
|
|
||||||
|
|
||||||
<h5>HTML Output</h5>
|
|
||||||
|
|
||||||
<dl>
|
|
||||||
<dt>Aque venitatiusda cum</dt>
|
|
||||||
<dd>Voluptionse latur sitiae dolessi...</dd>
|
|
||||||
<dt>Dantinc itiur</dt>
|
|
||||||
<dd>Axim reperum ese eaquam, coriatiorita...</dd>
|
|
||||||
</dl>
|
|
||||||
|
|
||||||
<br>
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Other Elements — abbr, sub, sup, kbd, mark
|
## Other Elements — abbr, sub, sup, kbd, mark
|
||||||
|
|
||||||
@ -240,3 +144,4 @@ X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup>
|
|||||||
Press <kbd><kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>Delete</kbd></kbd> to end the session.
|
Press <kbd><kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>Delete</kbd></kbd> to end the session.
|
||||||
|
|
||||||
Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and other small creatures.
|
Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and other small creatures.
|
||||||
|
|
@ -11,7 +11,7 @@ tags = [
|
|||||||
|
|
||||||
# Vagus elidunt
|
# Vagus elidunt
|
||||||
|
|
||||||
<svg class="canon" xmlns="http://www.w3.org/2000/svg" overflow="visible" height="370" width="495" viewBox="0 0 495 370"><g fill="none"><path stroke="#000" stroke-width=".75" d="M.599 372.348L495.263 1.206M.312.633l494.95 370.853M.312 372.633L247.643.92M248.502.92l246.76 370.566M330.828 123.869V1.134M330.396 1.134L165.104 124.515"></path><path stroke="#ED1C24" stroke-width=".75" d="M275.73 41.616h166.224v249.05H275.73zM54.478 41.616h166.225v249.052H54.478z"></path><path stroke="#000" stroke-width=".75" d="M.479.375h495v372h-495zM247.979.875v372"></path><ellipse cx="498.729" cy="177.625" rx=".75" ry="1.25"></ellipse><ellipse cx="247.229" cy="377.375" rx=".75" ry="1.25"></ellipse></g></svg>
|
<svg class="canon" xmlns="http://www.w3.org/2000/svg" overflow="visible" viewBox="0 0 496 373" height="373" width="496"><g fill="none"><path stroke="#000" stroke-width=".75" d="M.599 372.348L495.263 1.206M.312.633l494.95 370.853M.312 372.633L247.643.92M248.502.92l246.76 370.566M330.828 123.869V1.134M330.396 1.134L165.104 124.515"></path><path stroke="#ED1C24" stroke-width=".75" d="M275.73 41.616h166.224v249.05H275.73zM54.478 41.616h166.225v249.052H54.478z"></path><path stroke="#000" stroke-width=".75" d="M.479.375h495v372h-495zM247.979.875v372"></path><ellipse cx="498.729" cy="177.625" rx=".75" ry="1.25"></ellipse><ellipse cx="247.229" cy="377.375" rx=".75" ry="1.25"></ellipse></g></svg>
|
||||||
|
|
||||||
[The Van de Graaf Canon](https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon)
|
[The Van de Graaf Canon](https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon)
|
||||||
|
|
||||||
|
@ -1 +0,0 @@
|
|||||||
../post/markdown-and-html-syntax.md
|
|
1
content/posts/markdown-syntax.md
Symbolic link
1
content/posts/markdown-syntax.md
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../post/markdown-syntax.md
|
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 8.2 KiB |
Loading…
Reference in New Issue
Block a user