Skip to content

Commit d98e516

Browse files
suntongAntonioSun
authored andcommitted
- [#] use upstream v1.5.0, and enable youtube plugins
1 parent ec1b5c2 commit d98e516

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

html2md_main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
////////////////////////////////////////////////////////////////////////////
22
// Program: html2md
33
// Purpose: HTML to Markdown
4-
// Authors: Tong Sun (c) 2020-2023, All rights reserved
4+
// Authors: Tong Sun (c) 2020-2024, All rights reserved
55
////////////////////////////////////////////////////////////////////////////
66

77
package main
@@ -23,8 +23,8 @@ import (
2323

2424
var (
2525
progname = "html2md"
26-
version = "1.1.1"
27-
date = "2023-06-15"
26+
version = "1.5.0"
27+
date = "2024-02-10"
2828

2929
rootArgv *rootT
3030
)

prop_html2md.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
////////////////////////////////////////////////////////////////////////////
22
// Program: html2md
33
// Purpose: HTML to Markdown
4-
// Authors: Tong Sun (c) 2020, All rights reserved
4+
// Authors: Tong Sun (c) 2020-2024, All rights reserved
55
////////////////////////////////////////////////////////////////////////////
66

77
package main
@@ -128,8 +128,8 @@ func handlePlugins(conv *md.Converter, rootArgv *rootT) *md.Converter {
128128
// if rootArgv.PluginVimeoEmbed {
129129
// conv.Use(plugin.VimeoEmbed())
130130
// }
131-
// if rootArgv.PluginYoutubeEmbed {
132-
// conv.Use(plugin.YoutubeEmbed())
133-
// }
131+
if rootArgv.PluginYoutubeEmbed {
132+
conv.Use(plugin.YoutubeEmbed())
133+
}
134134
return conv
135135
}

0 commit comments

Comments
 (0)