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
Describe the bug Lines in code blocks are aligned to the center:
Samples to Reproduce Just copy-paste the example code block from here and remove the indentation on the last line (before the ```) as described here
Expected behavior I would expect the code in code blocks to always be aligned to the left:
I have tried many examples, but none of them worked. I am sort of new to Obsidian and might be overlooking something.
The text was updated successfully, but these errors were encountered:
You can specifiy the command you want to apply for the block if you write the command next to it.
Example (changing font-size + text-align):
::: block <!-- element style="font-size:37px; text-align:left;"--> My math formulas :::
You're welcome
Sorry, something went wrong.
Thanks! It's funny – I just launched Obsidian to try out your example, and all my code samples worked without touching anything. Closing this issue.
No branches or pull requests
Describe the bug

Lines in code blocks are aligned to the center:
Samples to Reproduce
Just copy-paste the example code block from here and remove the indentation on the last line (before the ```) as described here
Expected behavior

I would expect the code in code blocks to always be aligned to the left:
I have tried many examples, but none of them worked. I am sort of new to Obsidian and might be overlooking something.
The text was updated successfully, but these errors were encountered: