You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the simple code block piece as shown below (copied from your example page)
.. code-block:: python
print("Hello World")
I got the block rendered WITHOUT any left margin for every line inside the code block (the letters inside the code block start right close to the left border line of the code block).
But for other blocks e.g. the note block, I got the same display as in your example pages.
The text was updated successfully, but these errors were encountered:
I think I figured it out. If I add sphinxawesome_theme.highlighting to the list of extensions, the spacing is correct. This means I either need to change the CSS selector for the margin (in such a way that the emphasized/added/removed lines still look good) or I always load the internal extension. (can't load extensions from html_theme)
Python version: 3.11.3; Sphinx version: 6.2.1
So no matter whether I install via
pip install sphinxawesome-theme --pre
or
pip install git+https://github.com/kai687/sphinxawesome-theme.git
And added the theme (without extra option set)
For the simple
code block
piece as shown below (copied from your example page)I got the block rendered WITHOUT any left margin for every line inside the code block (the letters inside the code block start right close to the left border line of the code block).
But for other blocks e.g. the note block, I got the same display as in your example pages.
The text was updated successfully, but these errors were encountered: