You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RDoc (and by extension, YARD out-of-the-box) has Markdown support, but it doesn’t work correctly when it comes to nested emphasis/strong text, in-line code and links.
Refer to the sample I’ve provided. I’ve included both popular style (backtick for code, square-round brackets for link) and RDoc style (plus for code, curly-square for link).
(
rdoc --version
:6.4.0
)RDoc (and by extension, YARD out-of-the-box) has Markdown support, but it doesn’t work correctly when it comes to nested emphasis/strong text, in-line code and links.
Refer to the sample I’ve provided. I’ve included both popular style (backtick for code, square-round brackets for link) and RDoc style (plus for code, curly-square for link).
Input
Expected (formatted in GitHub Markdown)
1_tick
1_plus
*tick_1*
*plus_1*
2_tick
2_plus
**tick_2**
**plus_2**
square_1
curly_1
1_square
1_curly
square_2
curly_2
2_square
2_curly
square_tick
curly_tick
[tick_square](https://example.org)
{tick_curly}[https://example.org]
square_plus
curly_plus
[plus_square](https://example.org)
{plus_curly}[https://example.org]
Actual (copy-pasted verbatim from output HTML’s source)
1_tick
1_plus
tick_1
+plus_1+
2_tick
2_plus
tick_2
+plus_2+
{square_1}
{curly_1}
{1_square}[https://example.org]
{1_curly}[https://example.org]
{square_2}
{curly_2}
{2_square}[https://example.org]
{2_curly}[https://example.org]
{
square_tick
}{
curly_tick
}[tick_square](https://example.org)
{tick_curly}[https://example.org]
{
square_plus
}{
curly_plus
}+plus_square+
+plus_curly+
The text was updated successfully, but these errors were encountered: