Microdown icon indicating copy to clipboard operation
Microdown copied to clipboard

Should support blockquote

Open Ducasse opened this issue 1 year ago • 6 comments

Yes Like this

> Yes
> Like this

Ducasse avatar Apr 29 '24 19:04 Ducasse

Tasks

  • Write some tests
  • Introduce > at the block parser level (check the delimiter in the Mic
  • Introduce a node for this
  • Extend the Latex exporter to generate
\begin{boxB}
Yes
Like this
\end{boxB}

Ducasse avatar Aug 06 '24 06:08 Ducasse

In latex

\usepackage[many]{tcolorbox}  % For colored boxes

% Define a new environment called "boxB"
\newenvironment{boxB}{
  \begin{tcolorbox}[colback=white, colframe=black, rounded corners]
}{
  \end{tcolorbox}
}

Ducasse avatar Aug 06 '24 16:08 Ducasse

> *Bold*
> [https://www.pharo.org](https://www.pharo.org)

Bold https://www.pharo.org

Ducasse avatar Aug 13 '24 16:08 Ducasse

> *bold finishing on the next line
> this is a long bold*
> [https://www.pharo.org](https://
> www.pharo.org)

bold finishing on the next line this is a long bold [https://www.pharo.org](https:// www.pharo.org)

Ducasse avatar Aug 13 '24 16:08 Ducasse

One good strategy is then to get all the lines of a quoteblock, build a text (like for a paragraph) and pass the paragraph to the inline parser. This should returns basically the children of the quoteBlock.

Ducasse avatar Aug 13 '24 16:08 Ducasse

For HTML

https://products.aspose.com/html/net/generators/quote-blockquote/?utm_source=google&utm_medium=cpc2&gad_source=5&gclid=EAIaIQobChMI67Hq9q_yhwMVyqloCR2-NBNQEAAYASAAEgKvJPD_BwE
<q>
https://products.aspose.com/html/net/generators/quote-blockquote/?utm_source=google&utm_medium=cpc2&gad_source=5&gclid=EAIaIQobChMI67Hq9q_yhwMVyqloCR2-NBNQEAAYASAAEgKvJPD_BwE
</q>

Ducasse avatar Aug 13 '24 16:08 Ducasse