Skip to content

Commit

Permalink
Use forked, and fixed, version of mdx-video plugin.
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed Feb 28, 2023
1 parent 0dbb64d commit 8136fe1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 1 addition & 2 deletions pelicanconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@
},
# XXX broken on Python 3.9
# "mdx_titlecase.mdx_titlecase:TitlecaseExtension": {},
# XXX mdx_video is unmaintained and broken.
# "mdx_video": {},
"mdx_video": {},
# https://facelessuser.github.io/pymdown-extensions/
"pymdownx.betterem": {},
"pymdownx.caret": {},
Expand Down
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,13 @@ python = "^3.11"
pelican = { extras = ["Markdown"], version = "^4.8.0" }
typogrify = "^2.0.7"
beautifulsoup4 = "^4.9.3"
# mdx_video = "^0.1.8" # XXX Broken!
# mdx_titlecase = "^1.2.0" # XXX Broken!
# XXX Use forked version of mdx-video plugin as the project is clearly unmaintained:
# https://github.com/italomaia/mdx-video/issues/14
# mdx-video is good enough for now. An alternative worth exploring in the furture is pymdown-extensions,
# which has an experimental generic directive feature (https://github.com/facelessuser/pymdown-extensions/pull/1777)
# in the work that could be used to implement video embeds (https://github.com/facelessuser/pymdown-extensions/issues/896#issuecomment-1207153095).
mdx_video = { git = "https://github.com/dtantsur/mdx-video.git", rev = "a358317fafbeb78622afe1c05e08986809005b3d" }
plumage = { git = "https://github.com/kdeldycke/plumage.git", branch = "main" }
# plumage = { path = "../plumage/", develop = false } # XXX Dev!
pelican-image-process = "^3.0.3"
Expand Down

0 comments on commit 8136fe1

Please sign in to comment.