summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2023-07-13 10:45:01 +0200
committerPatrick Spek <p.spek@tyil.nl>2023-07-13 10:45:01 +0200
commit2d34710c9f3418c9662d90ef4a75fc5c5153b1d4 (patch)
tree8ab57ab1e73387991fb86ac1e22b4756c9f32570
parent81509903cbff8df053bda68ff4b602624dfe9b4e (diff)
Formatting is very hard
-rw-r--r--content/posts/2023/2023-07-13-getting-emoji-to-work-in-kde-on-debian.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/content/posts/2023/2023-07-13-getting-emoji-to-work-in-kde-on-debian.md b/content/posts/2023/2023-07-13-getting-emoji-to-work-in-kde-on-debian.md
index 14caadf..bce484e 100644
--- a/content/posts/2023/2023-07-13-getting-emoji-to-work-in-kde-on-debian.md
+++ b/content/posts/2023/2023-07-13-getting-emoji-to-work-in-kde-on-debian.md
@@ -26,7 +26,7 @@ and also force it to be used in favour of other emoji fonts if any application
was using that specifically. I have it saved as
`/etc/fonts/conf.d/75-noto-color-emoji.conf`.
-{% highlight xml %}
+```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
@@ -115,13 +115,13 @@ was using that specifically. I have it saved as
<edit name="family" mode="assign" binding="same"><string>Noto Color Emoji</string></edit>
</match>
</fontconfig>
-{% endhighlight %}
+```
The second configuration file, saved as `/etc/fonts/conf.d/local.conf`, simply
adds the Noto emoji font as a fallback. This enables the use of it when an emoji
is going to be rendered.
-{% highlight xml %}
+```xml
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
@@ -131,7 +131,7 @@ is going to be rendered.
</edit>
</match>
</fontconfig>
-{% endhighlight %}
+```
And after this, a relog of your (graphical) session should be all that is needed
in order to make it work. You can easily test it with `notify-send`, or trying