Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The unexpected '\' character in the underline string. #478

Open
Naza3 opened this issue Jul 27, 2024 · 1 comment
Open

The unexpected '\' character in the underline string. #478

Naza3 opened this issue Jul 27, 2024 · 1 comment

Comments

@Naza3
Copy link

Naza3 commented Jul 27, 2024

for example:

<pre class="cpp" translate="no">
 find_package(Qt6 REQUIRED COMPONENTS Qml)
 target_link_libraries(mytarget PRIVATE Qt6<span class="operator">::</span>Qml)
</pre>

convert to

 find\_package(Qt6 REQUIRED COMPONENTS Qml)
 target\_link\_libraries(mytarget PRIVATE Qt6::Qml)
@Naza3 Naza3 changed the title The extra '\' character in the underline string. The unexpected '\' character in the underline string. Jul 27, 2024
@za3k
Copy link

za3k commented Jul 29, 2024

This is expected, and will render correctly in HTML.

Otherwise, some markdown engines render _ inside a word as italics. https://www.markdownguide.org/basic-syntax/#italic-best-practices

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants