diff options
| author | Tong Sun <[email protected]> | 2024-02-10 16:43:54 -0500 |
|---|---|---|
| committer | AntonioSun <[email protected]> | 2024-02-19 14:17:27 -0500 |
| commit | d98e5166f0c591d8f16567f27afa6c2ab23abd8a (patch) | |
| tree | e7463af174d765e675f7a1fa19646d522be05e44 | |
| parent | - [#] update README (diff) | |
| download | html2md-d98e5166f0c591d8f16567f27afa6c2ab23abd8a.tar.xz html2md-d98e5166f0c591d8f16567f27afa6c2ab23abd8a.zip | |
- [#] use upstream v1.5.0, and enable youtube plugins
| -rw-r--r-- | html2md_main.go | 6 | ||||
| -rw-r--r-- | prop_html2md.go | 8 |
2 files changed, 7 insertions, 7 deletions
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..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 } |