Example

import . "github.dev/XRSec/HTML-TO-MARKDOWN"

body := GetSource(url, "", false)
HtmlToMarkdown(body, output, true)
go run awvs.go -u https://baidu.com -o 123.md
htmltomd -u https://baidu.com -o 123.md

Build

Github Action

go build '--ldflags= -s -w -X main.buildTime=2022-04-28/09:26:31 -X main.versionData=0.0.1 -X main.commitId=e5f941ddac24e5177650f6038f38d5935be90921 -X main.author=XRSec'

GitHub

View Github