aboutsummaryrefslogtreecommitdiff
path: root/prop_html2md.go
diff options
context:
space:
mode:
authorTong Sun <[email protected]>2024-02-10 16:43:54 -0500
committerAntonioSun <[email protected]>2024-02-19 14:17:27 -0500
commitd98e5166f0c591d8f16567f27afa6c2ab23abd8a (patch)
treee7463af174d765e675f7a1fa19646d522be05e44 /prop_html2md.go
parent- [#] update README (diff)
downloadhtml2md-d98e5166f0c591d8f16567f27afa6c2ab23abd8a.tar.xz
html2md-d98e5166f0c591d8f16567f27afa6c2ab23abd8a.zip
- [#] use upstream v1.5.0, and enable youtube plugins
Diffstat (limited to 'prop_html2md.go')
-rw-r--r--prop_html2md.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/prop_html2md.go b/prop_html2md.go
index 0d80e53..2f907c8 100644
--- a/prop_html2md.go
+++ b/prop_html2md.go
@@ -1,7 +1,7 @@
////////////////////////////////////////////////////////////////////////////
// Program: html2md
// Purpose: HTML to Markdown
-// Authors: Tong Sun (c) 2020, All rights reserved
+// Authors: Tong Sun (c) 2020-2024, All rights reserved
////////////////////////////////////////////////////////////////////////////
package main
@@ -128,8 +128,8 @@ func handlePlugins(conv *md.Converter, rootArgv *rootT) *md.Converter {
// if rootArgv.PluginVimeoEmbed {
// conv.Use(plugin.VimeoEmbed())
// }
- // if rootArgv.PluginYoutubeEmbed {
- // conv.Use(plugin.YoutubeEmbed())
- // }
+ if rootArgv.PluginYoutubeEmbed {
+ conv.Use(plugin.YoutubeEmbed())
+ }
return conv
}