chore: update markdown dependency to allow newer versions
This commit is contained in:
@@ -21,9 +21,9 @@ class MathJaxPattern(markdown.inlinepatterns.Pattern): # lint-amnesty, pylint:
|
||||
|
||||
|
||||
class MathJaxExtension(markdown.Extension):
|
||||
def extendMarkdown(self, md, md_globals): # lint-amnesty, pylint: disable=arguments-differ, unused-argument
|
||||
def extendMarkdown(self, md): # lint-amnesty, pylint: disable=arguments-differ, unused-argument
|
||||
# Needs to come before escape matching because \ is pretty important in LaTeX
|
||||
md.inlinePatterns.add('mathjax', MathJaxPattern(), '<escape')
|
||||
md.inlinePatterns.register(MathJaxPattern(), 'mathjax', 180)
|
||||
|
||||
|
||||
def makeExtension(**kwargs):
|
||||
|
||||
@@ -164,9 +164,9 @@ class VideoExtension(markdown.Extension): # lint-amnesty, pylint: disable=missi
|
||||
pattern = klass(re)
|
||||
pattern.md = md
|
||||
pattern.ext = self
|
||||
md.inlinePatterns.add(name, pattern, "<reference")
|
||||
md.inlinePatterns.register(pattern, name, 170)
|
||||
|
||||
def extendMarkdown(self, md, md_globals): # lint-amnesty, pylint: disable=arguments-differ, unused-argument
|
||||
def extendMarkdown(self, md): # lint-amnesty, pylint: disable=arguments-differ, unused-argument
|
||||
self.add_inline(md, 'bliptv', Bliptv,
|
||||
r'([^(]|^)http://(\w+\.|)blip.tv/file/get/(?P<bliptvfile>\S+.flv)')
|
||||
self.add_inline(md, 'dailymotion', Dailymotion,
|
||||
|
||||
@@ -71,12 +71,6 @@ event-tracking==3.0.0
|
||||
# https://github.com/openedx/edx-platform/issues/31616
|
||||
libsass==0.10.0
|
||||
|
||||
# Date: 2018-12-14
|
||||
# markdown>=3.4.0 has failures due to internal refactorings which causes the tests to fail
|
||||
# pinning the version untill the issue gets resolved in the package itself
|
||||
# Issue for unpinning: https://github.com/openedx/edx-platform/issues/35271
|
||||
markdown<3.4.0
|
||||
|
||||
# Date: 2024-07-16
|
||||
# We need to upgrade the version of elasticsearch to atleast 7.15 before we can upgrade to Numpy 2.0.0
|
||||
# Otherwise we see a failure while running the following command:
|
||||
|
||||
@@ -720,9 +720,8 @@ mako==1.3.10
|
||||
# lti-consumer-xblock
|
||||
# xblock
|
||||
# xblock-utils
|
||||
markdown==3.3.7
|
||||
markdown==3.8
|
||||
# via
|
||||
# -c requirements/edx/../constraints.txt
|
||||
# -r requirements/edx/kernel.in
|
||||
# openedx-django-wiki
|
||||
# staff-graded-xblock
|
||||
@@ -799,7 +798,7 @@ openedx-django-pyfs==3.8.0
|
||||
# xblocks-contrib
|
||||
openedx-django-require==2.1.0
|
||||
# via -r requirements/edx/kernel.in
|
||||
openedx-django-wiki==3.1.0
|
||||
openedx-django-wiki==3.1.1
|
||||
# via -r requirements/edx/kernel.in
|
||||
openedx-events==10.2.0
|
||||
# via
|
||||
|
||||
@@ -1212,9 +1212,8 @@ mako==1.3.10
|
||||
# lti-consumer-xblock
|
||||
# xblock
|
||||
# xblock-utils
|
||||
markdown==3.3.7
|
||||
markdown==3.8
|
||||
# via
|
||||
# -c requirements/edx/../constraints.txt
|
||||
# -r requirements/edx/doc.txt
|
||||
# -r requirements/edx/testing.txt
|
||||
# openedx-django-wiki
|
||||
@@ -1354,7 +1353,7 @@ openedx-django-require==2.1.0
|
||||
# via
|
||||
# -r requirements/edx/doc.txt
|
||||
# -r requirements/edx/testing.txt
|
||||
openedx-django-wiki==3.1.0
|
||||
openedx-django-wiki==3.1.1
|
||||
# via
|
||||
# -r requirements/edx/doc.txt
|
||||
# -r requirements/edx/testing.txt
|
||||
|
||||
@@ -870,9 +870,8 @@ mako==1.3.10
|
||||
# lti-consumer-xblock
|
||||
# xblock
|
||||
# xblock-utils
|
||||
markdown==3.3.7
|
||||
markdown==3.8
|
||||
# via
|
||||
# -c requirements/edx/../constraints.txt
|
||||
# -r requirements/edx/base.txt
|
||||
# openedx-django-wiki
|
||||
# staff-graded-xblock
|
||||
@@ -970,7 +969,7 @@ openedx-django-pyfs==3.8.0
|
||||
# xblocks-contrib
|
||||
openedx-django-require==2.1.0
|
||||
# via -r requirements/edx/base.txt
|
||||
openedx-django-wiki==3.1.0
|
||||
openedx-django-wiki==3.1.1
|
||||
# via -r requirements/edx/base.txt
|
||||
openedx-events==10.2.0
|
||||
# via
|
||||
|
||||
@@ -926,9 +926,8 @@ mako==1.3.10
|
||||
# lti-consumer-xblock
|
||||
# xblock
|
||||
# xblock-utils
|
||||
markdown==3.3.7
|
||||
markdown==3.8
|
||||
# via
|
||||
# -c requirements/edx/../constraints.txt
|
||||
# -r requirements/edx/base.txt
|
||||
# openedx-django-wiki
|
||||
# staff-graded-xblock
|
||||
@@ -1029,7 +1028,7 @@ openedx-django-pyfs==3.8.0
|
||||
# xblocks-contrib
|
||||
openedx-django-require==2.1.0
|
||||
# via -r requirements/edx/base.txt
|
||||
openedx-django-wiki==3.1.0
|
||||
openedx-django-wiki==3.1.1
|
||||
# via -r requirements/edx/base.txt
|
||||
openedx-events==10.2.0
|
||||
# via
|
||||
|
||||
Reference in New Issue
Block a user