From fa4aec408639165416e5de373b61308bce6a6af8 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Tue, 27 Oct 2020 18:46:08 +0530 Subject: [PATCH] lint --- content/posts/emoji-support.md | 12 ++-- content/posts/markdown-syntax.l2.md | 58 +++++++++++-------- content/posts/markdown-syntax.l3.md | 58 +++++++++++-------- content/posts/markdown-syntax.md | 58 +++++++++++-------- content/posts/math-typesetting.md | 16 +++-- content/posts/papermod/_index.md | 2 +- content/posts/papermod/papermod-features.md | 43 +++++++++----- content/posts/papermod/papermod-how-to.md | 10 ++-- content/posts/papermod/papermod-icons.md | 7 ++- .../posts/papermod/papermod-installation.md | 36 +++++++----- content/posts/papermod/papermod-variables.md | 34 ++++++----- content/posts/placeholder-text.md | 4 +- content/posts/rich-content.md | 5 +- 13 files changed, 198 insertions(+), 145 deletions(-) diff --git a/content/posts/emoji-support.md b/content/posts/emoji-support.md index dc3589ad..ed94c92d 100644 --- a/content/posts/emoji-support.md +++ b/content/posts/emoji-support.md @@ -8,9 +8,11 @@ tags = [ ] +++ -Emoji can be enabled in a Hugo project in a number of ways. +Emoji can be enabled in a Hugo project in a number of ways. + -The [`emojify`](https://gohugo.io/functions/emojify/) function can be called directly in templates or [Inline Shortcodes](https://gohugo.io/templates/shortcode-templates/#inline-shortcodes). + +The [`emojify`](https://gohugo.io/functions/emojify/) function can be called directly in templates or [Inline Shortcodes](https://gohugo.io/templates/shortcode-templates/#inline-shortcodes). To enable emoji globally, set `enableEmoji` to `true` in your site's [configuration](https://gohugo.io/getting-started/configuration/) and then you can type emoji shorthand codes directly in content files; e.g. @@ -19,17 +21,18 @@ To enable emoji globally, set `enableEmoji` to `true` in your site's [configurat The [Emoji cheat sheet](http://www.emoji-cheat-sheet.com/) is a useful reference for emoji shorthand codes. -*** +--- **N.B.** The above steps enable Unicode Standard emoji characters and sequences in Hugo, however the rendering of these glyphs depends on the browser and the platform. To style the emoji you can either use a third party emoji font or a font stack; e.g. {{< highlight html >}} .emoji { - 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; } {{< /highlight >}} {{< css.inline >}} + + {{< /css.inline >}} diff --git a/content/posts/markdown-syntax.l2.md b/content/posts/markdown-syntax.l2.md index a106d831..af7079d9 100644 --- a/content/posts/markdown-syntax.l2.md +++ b/content/posts/markdown-syntax.l2.md @@ -21,6 +21,7 @@ weight = 2 +++ 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. + ## Headings @@ -28,10 +29,15 @@ This article offers a sample of basic Markdown syntax that can be used in Hugo c The following HTML `
Test
- + + +Test
+ ``` @@ -102,7 +108,9 @@ Tables aren't part of the core Markdown spec, but Hugo supports supports them ou