Skip to content

Commit

Permalink
Update markdown_sub_sup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
alberic89 authored Mar 24, 2023
1 parent 44b001e commit d39d4dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions markdown_sub_sup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from markdown.extensions import Extension
from markdown.inlinepatterns import SimpleTagInlineProcessor

SUP_RE = r"(\^)([\w]+?)(\^)"
SUB_RE = r"(\~)([\w]+?)(\~)"
SUP_RE = r"(\^)([\S]+?)(\^)"
SUB_RE = r"(\~)([\S]+?)(\~)"

class MarkdownSubSup(Extension):
def extendMarkdown(self, md):
Expand Down

0 comments on commit d39d4dc

Please sign in to comment.