mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
basic bold and emphasis
This commit is contained in:
parent
6fa9d1c9e1
commit
80dace9d43
@ -56,8 +56,8 @@ class MarkdownHighlighter(QSyntaxHighlighter):
|
|||||||
}
|
}
|
||||||
|
|
||||||
light_theme = {
|
light_theme = {
|
||||||
"bold": {"color":"#859900", "font-weight":"bold", "font-style":"normal"},
|
"bold": {"font-weight":"bold"},
|
||||||
"emphasis": {"color":"#b58900", "font-weight":"bold", "font-style":"italic"},
|
"emphasis": {"font-style":"italic"},
|
||||||
"link": {"color":light_link_color.name(), "font-weight":"normal", "font-style":"normal"},
|
"link": {"color":light_link_color.name(), "font-weight":"normal", "font-style":"normal"},
|
||||||
"image": {"color":"#cb4b16", "font-weight":"normal", "font-style":"normal"},
|
"image": {"color":"#cb4b16", "font-weight":"normal", "font-style":"normal"},
|
||||||
"header": {"color":"#2aa198", "font-weight":"bold", "font-style":"normal"},
|
"header": {"color":"#2aa198", "font-weight":"bold", "font-style":"normal"},
|
||||||
@ -71,8 +71,8 @@ class MarkdownHighlighter(QSyntaxHighlighter):
|
|||||||
}
|
}
|
||||||
|
|
||||||
dark_theme = {
|
dark_theme = {
|
||||||
"bold": {"color":"#859900", "font-weight":"bold", "font-style":"normal"},
|
"bold": {"font-weight":"bold"},
|
||||||
"emphasis": {"color":"#b58900", "font-weight":"bold", "font-style":"italic"},
|
"emphasis": {"font-style":"italic"},
|
||||||
"link": {"color":dark_link_color.name(), "font-weight":"normal", "font-style":"normal"},
|
"link": {"color":dark_link_color.name(), "font-weight":"normal", "font-style":"normal"},
|
||||||
"image": {"color":"#cb4b16", "font-weight":"normal", "font-style":"normal"},
|
"image": {"color":"#cb4b16", "font-weight":"normal", "font-style":"normal"},
|
||||||
"header": {"color":"#2aa198", "font-weight":"bold", "font-style":"normal"},
|
"header": {"color":"#2aa198", "font-weight":"bold", "font-style":"normal"},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user