Skip to content

Commit

Permalink
ReStructuredText: Remove plain.css from default CSS output
Browse files Browse the repository at this point in the history
plain.css hardcodes background color which causes bad contrast when
using ReText with dark UI themes.

See retext-project/retext#492.
  • Loading branch information
mitya57 committed Mar 2, 2021
1 parent c411a8e commit 4536926
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions markups/restructuredtext.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def __init__(self, filename=None, settings_overrides=None):
'math_output': 'MathJax ' + common.MATHJAX_WEB_URL,
'syntax_highlight': 'short',
'halt_level': 5, # Never convert system messages to exceptions
'stylesheet_path': 'minimal.css', # Do not include plain.css
})
AbstractMarkup.__init__(self, filename)
from docutils.core import publish_parts
Expand Down

0 comments on commit 4536926

Please sign in to comment.