-
Notifications
You must be signed in to change notification settings - Fork 132
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
Icons in 'Presentation' components (e.g. box, panels, tabs) are not rendered properly #2371
Comments
@jmestxr From what I know, MarkBind (due to the parser used) follows the Markdown rule that requires a blank line to separate Markdown text from other text (e.g., HTML text). Otherwise the text is not parsed an Markdown but treated as plain text (I think). Even GitHub behave the same way e.g.,
Output: |
@damithc I see. Indentation may also cause text with icons to be parsed as plain text. Perhaps we could put a note in UG stating that per Markdown rule, a new line and no indentation should be included when including content in tabs/panels/boxes? |
@jmestxr we have a section here on this: https://markbind.org/userGuide/usingHtmlJavaScriptCss.html#markdown-in-html |
Keeping in mind that users will just read the section of the UG relevant to the component they want to use, perhaps we can do the following:
|
Hi, I would like to give this issue a try. |
Please confirm that you have searched existing issues in the repo
Yes, I have searched the existing issues
Any related issues?
No response
Tell us about your environment
applicable for all
MarkBind version
5.1.0
Describe the bug and the steps to reproduce it
Icons in 'Presentation' components are not rendered properly with indentation. For example, the following block of code:
produces
Moreover, presence/absence of newlines also affect rendering. For example,
produces
but
produces
Expected behavior
Icons should be rendered properly in these components, regardless of indentation size/newlines.
Anything else?
No response
The text was updated successfully, but these errors were encountered: