Closed MatusGasparik closed 4 years ago
Expected behaviour: In the preview or review mode, the code in the code block is left-aligned respecting the indentation rules of the language.
Actual behaviour: The code in the code blocks is centred in both the preview or the review (but it displays correctly in the browser)
Version 2.1.15 (442df9d6) Qt 5.12.1 PyQt 5.11.3
OS: macOS Mojave (10.14.6)
OK. I found the proper place to set the left-alignment and it solved the above issue:
On macOS, go to: Tools -> Manage Note Types -> Cards... and within the Styling sub-window, set the text-aling to left.
Correct the text-alignment in a code block
How to reproduce the problem
Expected behaviour: In the preview or review mode, the code in the code block is left-aligned respecting the indentation rules of the language.
Actual behaviour: The code in the code blocks is centred in both the preview or the review (but it displays correctly in the browser)
Version information
Anki
Version 2.1.15 (442df9d6) Qt 5.12.1 PyQt 5.11.3
System
OS: macOS Mojave (10.14.6)