We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, @dsrkafuu, first I want to thank you for providing this wonderful theme!
Recently, I cannot arrange a pictures to the center of a paragraph, by the following Markdown syntax:
![alt text](/path/to/file.svg)
Is there a possible way to align a picture to the center of a paragraph, by Markdown Syntax (Not <img> tag)?
<img>
Thank you!
F.Y.I., the Mermaid can align a diagram to the center, configurations shown below:
in /layouts/partials/mermaid.html:
/layouts/partials/mermaid.html
<script defer src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script> <script> // Replace mermaid pre.code to div Array.from(document.getElementsByClassName("language-mermaid")).forEach( (el) => { el.parentElement.outerHTML = `<div class="mermaid">${el.innerText}</div>`; } ); </script> <style> /* Set svg to center */ .mermaid svg { display: block; margin: auto; background-color: rgba(255, 255, 255, 0.5); } </style>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, @dsrkafuu, first I want to thank you for providing this wonderful theme!
Recently, I cannot arrange a pictures to the center of a paragraph, by the following Markdown syntax:
Is there a possible way to align a picture to the center of a paragraph, by Markdown Syntax (Not
<img>
tag)?Thank you!
F.Y.I., the Mermaid can align a diagram to the center, configurations shown below:
in
/layouts/partials/mermaid.html
:The text was updated successfully, but these errors were encountered: