Matthew Bailin
2024-01-17 f6299da1823b51917792905ca71257e55f706ed6
refs
author Matthew Bailin <matthewdbailin@gmail.com>
Wednesday, January 17, 2024 17:32 +0000
committer GitHub <noreply@github.com>
Wednesday, January 17, 2024 17:32 +0000
commitf6299da1823b51917792905ca71257e55f706ed6
tree da94f65e1b17a4f45ff1a489b20b250cced9fb12 tree | zip | gz
parent e17ff202449635af29ef0056886e472a2615708b view | diff
feat: add ofm option to transform `<img>` tags with video exts into `<video>` (closes #463) (#664)

* enableVideoEmbed plugin

* enableVideoEmbed plugin

* enableVideoEmbed plugin

* enableVideoEmbed plugin

* enableVideoEmbed plugin

* cleaned up index validation, regex, conditional, no autoplay

* Update quartz/plugins/transformers/ofm.ts

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>

* Update quartz/plugins/transformers/ofm.ts

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>

* Update quartz/plugins/transformers/ofm.ts

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>

* Update ofm.ts

* Update ofm.ts

---------

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
1 files modified
27 ■■■■■ changed files
quartz/plugins/transformers/ofm.ts 27 ●●●●● diff | view | raw | blame | history