Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/queensferryme/hugo-theme-texify.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQueensferry <queensferry.me@gmail.com>2022-04-01 05:48:29 +0300
committerQueensferry <queensferry.me@gmail.com>2022-04-01 08:06:59 +0300
commit0e95e3e3c4d13733faf26942fa11d968bd681be9 (patch)
tree97152c53420ff082c174a0a4304cd7535cfe37d8
parent9ee2d2b098e5852f4edbbaa951a21e554661d025 (diff)
chore: add `.editorconfig`
-rw-r--r--.editorconfig13
-rw-r--r--exampleSite/content/post/emoji-support.md4
2 files changed, 15 insertions, 2 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..40d4128
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,13 @@
+[*]
+charset = utf-8
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[*.{html,xml}]
+indent_size = 2
+indent_style = space
+
+[*.md]
+# https://github.com/editorconfig/editorconfig-vscode/issues/153
+trim_trailing_whitespace = false
diff --git a/exampleSite/content/post/emoji-support.md b/exampleSite/content/post/emoji-support.md
index f17f49a..dc3589a 100644
--- a/exampleSite/content/post/emoji-support.md
+++ b/exampleSite/content/post/emoji-support.md
@@ -8,9 +8,9 @@ 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.
<!--more-->
-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.