Skip to content

Commit

Permalink
Merge pull request #829 from sphinx-contrib/support-sphinxnotes-strik…
Browse files Browse the repository at this point in the history
…e-extension

support sphinxnotes-strike extension
  • Loading branch information
jdknight authored Jul 15, 2023
2 parents 9459514 + ff36cb6 commit 36723f3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions sphinxcontrib/confluencebuilder/storage/translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -2931,6 +2931,17 @@ def visit_vimeo(self, node):
def visit_youtube(self, node):
self._visit_video(node, 'https://www.youtube.com/watch?v=' + node['id'])

# -------------------------------------------------------
# sphinx -- extension (third party) -- sphinxnotes-strike
# -------------------------------------------------------

def visit_strike_node(self, node):
self.body.append(self._start_tag(node, 's'))
self.context.append(self._end_tag(node, suffix=''))

def depart_strike_node(self, node):
self.body.append(self.context.pop()) # s

# -------------
# miscellaneous
# -------------
Expand Down

0 comments on commit 36723f3

Please sign in to comment.