Adding a note to the blog posts
This makes it generic, no need to install htmlize
This commit is contained in:
parent
dadf5cdb83
commit
b3b75b7809
1 changed files with 12 additions and 1 deletions
|
@ -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
|
||||
|
|
Reference in a new issue