summaryrefslogtreecommitdiffstats
path: root/presentty/rst.py
diff options
context:
space:
mode:
Diffstat (limited to 'presentty/rst.py')
-rw-r--r--presentty/rst.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/presentty/rst.py b/presentty/rst.py
index 5867ca1..53238e7 100644
--- a/presentty/rst.py
+++ b/presentty/rst.py
@@ -295,6 +295,12 @@ class UrwidTranslator(docutils.nodes.GenericNodeVisitor):
def depart_emphasis(self, node):
self.attr.pop()
+ def visit_strong(self, node):
+ self.attr.append(self.palette['strong'])
+
+ def depart_strong(self, node):
+ self.attr.pop()
+
def visit_inline(self, node):
cls = node.get('classes')
if not cls:
@@ -362,6 +368,7 @@ class UrwidTranslator(docutils.nodes.GenericNodeVisitor):
if 'progressive' in node.get('classes'):
self.progressives.pop()
+
class TransitionDirective(docutils.parsers.rst.Directive):
required_arguments = 1
option_spec = {'duration': float}