diff --git a/html2md_main.go b/html2md_main.go index 4995e6c..2e7d291 100644 --- a/html2md_main.go +++ b/html2md_main.go @@ -1,7 +1,7 @@ //////////////////////////////////////////////////////////////////////////// // Program: html2md // Purpose: HTML to Markdown -// Authors: Tong Sun (c) 2020-2023, All rights reserved +// Authors: Tong Sun (c) 2020-2024, All rights reserved //////////////////////////////////////////////////////////////////////////// package main @@ -23,8 +23,8 @@ import ( var ( progname = "html2md" - version = "1.1.1" - date = "2023-06-15" + version = "1.5.0" + date = "2024-02-10" rootArgv *rootT ) diff --git a/prop_html2md.go b/prop_html2md.go index 0d80e53..a7a4dd4 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 @@ -125,11 +125,11 @@ func handlePlugins(conv *md.Converter, rootArgv *rootT) *md.Converter { if rootArgv.PluginTaskListItems { conv.Use(plugin.TaskListItems()) } - // if rootArgv.PluginVimeoEmbed { - // conv.Use(plugin.VimeoEmbed()) - // } - // if rootArgv.PluginYoutubeEmbed { - // conv.Use(plugin.YoutubeEmbed()) - // } + if rootArgv.PluginVimeoEmbed { + conv.Use(plugin.VimeoEmbed()) + } + if rootArgv.PluginYoutubeEmbed { + conv.Use(plugin.YoutubeEmbed()) + } return conv }