Adding a note to the blog posts

This makes it generic, no need to install htmlize
This commit is contained in:
Elia el Lazkani 2020-09-01 00:25:49 +02:00
parent dadf5cdb83
commit b3b75b7809

View file

@ -2,7 +2,7 @@
.. title: Welcome back to the old world
.. date: 2020-08-31
.. slug: welcome-back-to-the-old-world
.. updated: 2020-08-31
.. updated: 2020-09-01
.. status: published
.. tags: blog, orgmode, nikola, emacs, rst
.. category: misc
@ -158,6 +158,17 @@ Okay, that's what's trying to load /htmlize/. Let's try to add it to the =load-p
(package-initialize)
#+END_SRC
#+BEGIN_EXPORT html
<div class="admonition note">
<p class="admonition-title">Note</p>
#+END_EXPORT
In my case, the path to =htmlize= is =~/.emacs.d/.local/straight/build/htmlize=.
If you don't have it installed, simply =git clone= the repository in a directory and =load-path= that path.
#+BEGIN_EXPORT html
</div>
#+END_EXPORT
Now, let's try /Nikola/.
#+BEGIN_EXAMPLE