Replies: 2 comments 3 replies
-
Nesting shortcodes is very likely impossible. Compiling Markdown might be possible with a Python-based plugin that calls a Markdown compiler. |
Beta Was this translation helpful? Give feedback.
2 replies
-
Actually I wrote a C library that parses shortcodes and supports nested
ones. Would need to write a cffi to use it from python and lots of work to
make it usable :-(
https://github.com/ralsina/shortcodes
…On Fri, Oct 4, 2024 at 4:41 PM Chris Warrick ***@***.***> wrote:
Nesting shortcodes is very likely impossible. Compiling Markdown might be
possible with a Python-based plugin that calls a Markdown compiler.
—
Reply to this email directly, view it on GitHub
<#3793 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAAMK5ZC2KJ4Z5BG3LAA5TZZ3VM5AVCNFSM6AAAAABPMOVNTCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAOBUHAYTANQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I need spoiler plugin for Nikola, like some forums have. It's the easiest to add it via simple template-based shortcode, but... how to compile data between
{{% spoiler}}
and{{ /spoiler }}
using markdown compiler? I use markdown for my site. Now it outputs spoiler body as is.Or, it is easier to add two shortcodes – for opening and closing spoiler tag? Will it work?
And, what about nested spoilers?
Beta Was this translation helpful? Give feedback.
All reactions