ryanlelek / Raneto

Markdown powered Knowledgebase Wiki for Node.js
https://raneto.com
MIT License
2.79k stars 447 forks source link

Blockquotes? #379

Open marclafountain opened 2 years ago

marclafountain commented 2 years ago

Does Raneto support blockquotes in Pages without custom CSS work? If so, what is the Markdown syntax or HTML markup?

I've tried using > and <blockquote></blockquote> but those doesn't seem to work.

Apologies if I'm just missing something obvious. Thanks for making Raneto!

ryanlelek commented 2 years ago

> might work, but I see that more in plain-text emails. <blockquote> probably won't work.

For Markdown, the blockquote I know if for code.
You can do this with 3 backticks (`) in a row, the key is in the top-left on US keyboards next to the number 1 Once your blockquote is done, end it with 3 more backticks Will that work for your purpose?

Here's a reference that shows the backticks in more detail.
You dont need to specify the language (python), only the 3 backticks https://stackabuse.com/markdown-by-example/#codeblocks

If that doesn't end up working, let us know by commenting here. We use Markdown-rendering libraries and they all have their quirks. Some don't get updated as Markdown evolves. If the existing libraries dont work, we'll have to swap to a new option

marclafountain commented 2 years ago

Thank you!

On Wed, Oct 26, 2022, at 11:40 AM, Ryan Lelek wrote:

> might work, but I see that more in plain-text emails. <blockquote> probably won't work.

For Markdown, the blockquote I know if for code. You can do this with 3 backticks (`) in a row, the key is in the top-left on US keyboards next to the number 1 Once your blockquote is done, end it with 3 more backticks Will that work for your purpose?

Here's a reference that shows the backticks in more detail. You dont need to specify the language (python), only the 3 backticks https://stackabuse.com/markdown-by-example/#codeblocks

If that doesn't end up working, let us know by commenting here. We use Markdown-rendering libraries and they all have their quirks. Some don't get updated as Markdown evolves. If the existing libraries dont work, we'll have to swap to a new option

— Reply to this email directly, view it on GitHub https://github.com/ryanlelek/Raneto/issues/379#issuecomment-1291491164, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHTOX762322JMOC5UTV3OLWFCY5VANCNFSM6AAAAAAQNGYIAE. You are receiving this because you authored the thread.Message ID: @.***>

ryanlelek commented 9 months ago

@marclafountain I have tried this in the latest v0.17.7. The blockquote renders correctly with the <blockquote> element however there isn't a style associated with this element so it looks plain text

Once the CSS classes are added, should work as expected

Content

> This is a quote
> Someone once said it
> But it renders all on one line