Releases: drmingdrmer/md2zhihu
fix --repo .@xx fix wide table
- When using "--repo .@XX" and xx has no remote configured, use the first found remote for pushing assets
- A wide table will produce tag
colgroup
inside a table that is not recognized by zhihu.colgroup
is removed when building md table to html table.
v0.13
refactor: default asset-branch: current_branch-md2zhihu-assets
refactor: add cli args and conf info to commit message when commit output_dir
feature: "--download" to download external image
feature: add md5 to asset fn to avoid conflict
Fix help messages
- Fix help messages
Fix sort ref list and support unicode in link
fix: sort ref definition list and Reference list
fix: support unicode in link
Support single `$` as math quote
- new-feature: support using "$" as math quote
Support external ref list, support more platform.
Fixes
-
fix: when output-dir is not asset-output-dir, it generates wrong url.
-
fix: use the title to generate ref list text, instead of using link id. Make the ref-list more human friendly.
-
fix: output ref-list and ref-def for only used links. Unused links will not appears on the bottom.
Features
-
new-feature: add platform
minimal_mistake
: to convert md tominimal_mistake
compatible version -
new-feature: add --rewrite to rewrite generate url, when one need to customize urls before uploading assets.
-
new-feature: add arg "--jekyll" to respect jekyll syntax markdowns.
-
new-feature: add option --refs to add external reference definition
Doc
- doc: fix readme: update according to latest changes
push converted md to standalone branch
v0.8 fix: allow empty when action pushes
local mode; support using git-remote; support graphviz
new-feature: local mode; support using git-remote
-
changes of CLI:
-
--asset-dir
is removed. -
--output-dir
: the root git dir to push to remote, which contains
converted assets. A git repo will be initialized in this dir. -
--asset-output-dir
: the dir to store assets. Most cases you do
not need to set this path.
-
-
changes of github-action:
md_branch
is removed. Now it always pushes to the branch it
converts md from.
-
new-feature: support specifying a remote as url of the repo that
stores converted assets. -
new-feature: if
--repo
is not specified, it convert md locally,
i.e., assets are linked by relative path, and nothing is pushed to
remote. -
test: when CI, use repo md2test to test pushing.
-
refactor: extract common util func from test, such as comparing md,
comparing images. -
refactor: use feature-list to describe platform specific convertion.
-
refactor: use k3git to parse git url.
doc: add trouble shooting
change: asset does not include platform as part of path
new-featrue: convert graphviz(dot) codes to image
use GITHUB_TOKEN
v0.5 use secret.GITHUB_TOKEN
add doc of action options
v0.4 add action-option doc