Skip to content

Releases: hymkor/minipage

v0.11.1

14 Feb 09:33

Choose a tag to compare

Changes in v0.11.1 (English)

  • Use Go 1.20.14 instead of latest Go (1.24.1) if possible. (#4)
    • Stop using "slices"
    • Downgrade go.abhg.dev/goldmark/anchor from v0.2.0 to v0.1.1

Changes in v0.11.1 (Japanese)

  • 可能ならば、最新の Go (1.24.1) ではなく、Go 1.20.14 を使用するようにした。(#4)
    • "slices" を使用しないようにした
    • go.abhg.dev/goldmark/anchor v0.2.0 を v0.1.1 へダウングレード

v0.11.0

13 Feb 01:50

Choose a tag to compare

Changes in v0.11.0 (English)

  • Changed: Markdown files now support raw HTML. Embedded HTML tags will be preserved and rendered directly in the output. (#1)
  • Added: Support for inline HTML arguments. You can now pass raw HTML strings directly as command-line arguments without creating a separate file. (#2)

Changes in v0.11.0 (Japanese)

  • 変更: markdown ファイルで生HTMLを使えるようにした。埋め込んだ HTML タグは維持され、そのまま出力されるようにした。 (#1)
  • 追加: インラインの HTML 引数をサポート。独立したファイルを用意しなくとも、コマンドライン引数で直接 HTML 文字列を与えられるようにした。 (#2)

v0.10.0

19 Oct 08:17

Choose a tag to compare

Changes in v0.10.0 (English)

  • In outline output, the indent depth before the Markdown list marker was previously calculated as (heading level × 4). However:

    • When the heading level is two or more levels deep, it may not be recognized as nested.
    • Some documents start directly with ##.

    To address this, the indent is now calculated as ((heading level − top-level heading level) × 2).

Changes in v0.10.0 (Japanese)

  • アウトライン出力において、(見出しのレベル×4桁)を markdown の箇条書きマーク前のインデント深さとしていたが

    • 見だしのレベルが二つ深くなると、入れ子と認識しなくなる
    • いきなり ## から始まるケースもある

    という問題があるため、{(見だしのレベル-最もトップの見出しのレベル)×2桁}とした

v0.9.0

02 Oct 15:09

Choose a tag to compare

Changes in v0.9.0 (English)

  • Added the option -outline-in-sidebar to output the outline in the sidebar

Changes in v0.9.0 (Japanese)

  • サイドバーにページ内目次を追加するオプション: -outline-in-sidebar を追加

v0.8.1

29 Sep 07:45

Choose a tag to compare

Changes in v0.8.1 (English)

  • Use hymkor/goldmark-mb-headingids instead of hymkor/xnhttpd/idgen
    • Fix the issue where non-alphanumeric single-byte characters in headings were included in IDs, making them incompatible with GitHub.
    • Fix the issue where, when a heading contained no characters usable for an ID, the placeholder xheading was used instead of heading.

Changes in v0.8.1 (Japanese)

  • hymkor/xnhttpd/idgen のかわりに hymkor/goldmark-mb-headingids を使用
    • 見出し文字のうち、英数字ではないシングルバイト文字が ID に入っていて、GitHub 非互換になっていた問題を修正
    • 見出しに ID として使える文字が一文字もない時、heading ではなく、調査用に仮に設定していたxheading が ID として使われていた問題を修正

v0.8.0

28 Sep 12:27

Choose a tag to compare

Changes in v0.8.0 (English)

  • Fix the issue where IDs were not compatible with GitHub when headers contained non-ASCII characters.

Changes in v0.8.0 (Japanese)

  • 見出しが日本語だった時、ID が GitHub 非互換になっていた問題を修正

v0.7.0

17 Sep 00:37

Choose a tag to compare

Changes in v0.7.0 (English)

  • Changed output format to XHTML
  • Stopped wrapping the contents of <style>..</style> tags with <!--..-->

Changes in v0.7.0 (Japanese)

  • XHTML形式で出力するようにした
  • <style>..</style>タグの中身を<!--..--> で囲まないようにした

v0.6.0

31 May 01:46

Choose a tag to compare

Changes in v0.6.0 (English)

  • Adjusted the style of heading anchor links to appear smaller and less intrusive
  • Anchor links next to headings are now hidden when the -anchor-text option is not specified
  • Fixed: CSS output bug: % was not escaped as %%, breaking @​media print rule.
  • Refactored code and added tests.

Changes in v0.6.0 (Japanese)

  • 見出しのアンカーリンクのスタイルを調整して、小さくて邪魔にならないように見えるようにした
  • -anchor-text オプションが指定されていないときに、見出しの横にあるアンカーリンクを隠すようにした
  • CSSの出力不具合: %%% とエスケープされていなかったため、@​media print ルールを壊していた
  • リファクタリングを行い、テストコードを追加した。

v0.5.0

30 May 05:20

Choose a tag to compare

Changes in v0.5.0 (English)

  • Treat - as stdin
  • Added the -readme-to-index option, which rewrites file names starting with README to start with index in relative anchor URLs.
    This is useful when generating links that point to index.html instead of README.html (e.g., README_ja.mdindex_ja.html).

Changes in v0.5.0 (Japanese)

  • ファイル名として与えられた - は標準入力として扱うようにした。
  • 追加: -readme-to-index オプションを追加した。相対リンク中の README で始まるファイル名(例:README_ja)を index に変換する(例:index_ja)。拡張子 .md → .html の変換や、相対 URL の処理はこのオプションに関係なく常に行われる。

v0.4.0

07 May 03:47

Choose a tag to compare

Changes in v0.4.0 (English)

  • Insert <!DOCTYPE html> into generated HTML
  • Implement -title-from-file option to use the contents of a specified file as the HTML title

Changes in v0.4.0 (Japanese)

  • 生成されるHTMLに <!DOCTYPE html> を挿入するようにした
  • 指定したファイルの中味を HTML のタイトルとして使うオプション -title-from-file を実装