From 1330f38ede8d00e77a34b014c807b9ccd63ea2cc Mon Sep 17 00:00:00 2001 From: Vitaly Potyarkin Date: Tue, 1 Jun 2021 10:39:43 +0300 Subject: [PATCH] Add page for previewing RST admonitions --- content/admonitions.rst | 37 +++++++++++++++++++++++++++++++++++++ themes/pelican-alchemy | 2 +- 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 content/admonitions.rst diff --git a/content/admonitions.rst b/content/admonitions.rst new file mode 100644 index 0000000..36b62d9 --- /dev/null +++ b/content/admonitions.rst @@ -0,0 +1,37 @@ +Testing RST admonitions +####################### + +:date: 1999-01-01 +:tags: rst, admonitions, markup +:authors: Vitaly Potyarkin + +Discussion: https://github.com/nairobilug/pelican-alchemy/pull/88 + +Spec: https://docutils.sourceforge.io/docs/ref/rst/directives.html#admonitions + +.. DANGER:: + Beware killer rabbits! + +.. note:: This is a note admonition. + This is the second line of the first paragraph. + +.. important:: This is a important admonition. + This is the second line of the first paragraph. + +.. warning:: This is a warning admonition. + This is the second line of the first paragraph. + +.. attention:: This is a attention admonition. + This is the second line of the first paragraph. + +.. caution:: This is a caution admonition. + This is the second line of the first paragraph. + +.. error:: This is a error admonition. + This is the second line of the first paragraph. + +.. hint:: This is a hint admonition. + This is the second line of the first paragraph. + +.. tip:: This is a tip admonition. + This is the second line of the first paragraph. diff --git a/themes/pelican-alchemy b/themes/pelican-alchemy index a25b978..fd70e76 160000 --- a/themes/pelican-alchemy +++ b/themes/pelican-alchemy @@ -1 +1 @@ -Subproject commit a25b97836d310e59d09092c3022c5dac25f328cf +Subproject commit fd70e764b4ee100b4c3fa961336af32a3b88f20a