Qiskit / qiskit_sphinx_theme

A Sphinx theme and documentation guidelines for Qiskit and Qiskit Ecosystem projects
https://qisk.it/docs-guide
Apache License 2.0
14 stars 29 forks source link

[FORMAT]: Markdown not formatted well #514

Closed mickahell closed 1 year ago

mickahell commented 1 year ago

Summary

see : https://icekhan13.github.io/purplecaffeine/guides/04_setup_api.html


See PR https://github.com/IceKhan13/purplecaffeine/pull/77 for source.

Eric-Arellano commented 1 year ago

I think these might all be problems with Sphinx, rather than the theme. Sphinx is what decides the HTML, such as what is a list and what is not. The theme only controls how those HTML elements are styled via CSS.

For example, with the list, see https://qiskit.github.io/qiskit_sphinx_theme/sphinx_guide/how_to_create_lists.html for examples of lists.

Idk what's going on with that link. But try out the theme alabaster to see if it makes a difference. Seems like some problem with nbconvert, rather than the theme.

What's the problem with the Bash block?

mickahell commented 1 year ago

Oh ok indeed. I'll check that. You close the issue if you thing it's not related :)

With bash, the coloration :

Capture d’écran 2023-07-20 à 19 18 17
Eric-Arellano commented 1 year ago

Got it. The code coloring is entirely from Pygments and not from our theme. You could try out different Pygments styles. You can configure it like this:

https://github.com/Qiskit/qiskit_sphinx_theme/blob/021d418f0fea2c6a3b6738b37f20b7c91028be0f/example_docs/docs/conf.py#L73-L74