Skip to content

Releases: drmingdrmer/md2zhihu

fix --repo .@xx fix wide table

12 Feb 15:30
Compare
Choose a tag to compare
  • 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

05 Feb 16:06
Compare
Choose a tag to compare

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

05 Feb 12:51
Compare
Choose a tag to compare

Fix sort ref list and support unicode in link

05 Feb 09:39
Compare
Choose a tag to compare

fix: sort ref definition list and Reference list

fix: support unicode in link

Support single `$` as math quote

05 Feb 05:30
Compare
Choose a tag to compare
  • new-feature: support using "$" as math quote

Support external ref list, support more platform.

15 Jul 05:13
Compare
Choose a tag to compare

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 to minimal_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

07 Jun 16:08
Compare
Choose a tag to compare
v0.8

fix: allow empty when action pushes

local mode; support using git-remote; support graphviz

07 Jun 15:38
Compare
Choose a tag to compare

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

05 Mar 06:48
Compare
Choose a tag to compare
v0.5

use secret.GITHUB_TOKEN

add doc of action options

05 Mar 05:06
Compare
Choose a tag to compare