Quite often I want to add text to a quote, but I don't know what the text is beforehand due to it being %%content%%.
Includes can't be included in a quote at all because it would mean the syntax is invalid, and the same applies for code blocks and a range of other things.
If I use this code it breaks for content with multiple lines:
> %%content%%
And neither the include nor the code block will work like this:
> [[code]]
> code here
> [[/code]]
> [[include somepage]]
Instead, I'd like to directly say where I want the blockquote, like in this HTML
<blockquote> content here </blockquote>
I'd like to do this:
[[blockquote]]
%%content%%
[[/blockquote]]
Or even just "quote" instead of "blockquote", to make it easier for new users!
[[quote]]
%%content%%
[[/quote]]
Because blockquote is a standard html tag, this wish makes a lot of sense. I agree that
makes a lot of sense.
As a workaround, this should work:
If you spend a bit more time configuring things, you could create your own custom class that duplicates the formatting of your blockquote and add it to your css or place it in a css module, Then you could use:
Community Admin
I wasn't aware of being able to use [[div class="note"]] - thanks!
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server | NEW: Wikiroo, backup tool (in development)
Yes, you can use any of the "standard" classes that are already defined in your theme's css or create your own. When you're inspecting the CSS, classes are anything that start with a period. Because blockquote is a standard html element (like <p>, for example), you can't reference the CSS for those like you can a class.
I would suggest creating your own custom class since the note class is usually centered in most themes and may not look good in your application (I have a pretty good idea of what you're trying to do and if you're successful it will remove one of my few annoyances with the page based forum). Let me know if I can help more…
-Ed
Community Admin
Mission: Remove annoyances with the page based forum
Test subject: http://editor.wikidot.com/thread:40
Mission success? Let's wait for the verdict from Ed… ;-)
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server | NEW: Wikiroo, backup tool (in development)
Mission accomplished! You've come up with a very, very good solution to the problem of not being able to quote previous messages in a page based forum.
9 out of 10 stars!
-Ed
Community Admin
I still think there is a need for the original solution. Having spent time typing both <blockquote> on Groklaw and [quote] on phpBB boards, I would vote for the shorter of the two as easier to type and no more confusing for newbies.
I'd still prefer [[blockquote]]...[[/blockquote]] simply because that's the element we need to reference when tweaking the CSS that's applied to it. That said, what I'd really like to see is this wish accepted and implemented. If it is, I will happily live with whatever version of the syntax the devs decide to use.
Community Admin
Agreed!
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server | NEW: Wikiroo, backup tool (in development)