Releases: hymkor/minipage
Releases · hymkor/minipage
v0.11.1
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
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)
v0.10.0
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
v0.8.1
Changes in v0.8.1 (English)
- Use
hymkor/goldmark-mb-headingidsinstead ofhymkor/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
xheadingwas used instead ofheading.
Changes in v0.8.1 (Japanese)
hymkor/xnhttpd/idgenのかわりにhymkor/goldmark-mb-headingidsを使用- 見出し文字のうち、英数字ではないシングルバイト文字が ID に入っていて、GitHub 非互換になっていた問題を修正
- 見出しに ID として使える文字が一文字もない時、
headingではなく、調査用に仮に設定していたxheadingが ID として使われていた問題を修正
v0.8.0
v0.7.0
v0.6.0
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-textoption 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
Changes in v0.5.0 (English)
- Treat
-as stdin - Added the
-readme-to-indexoption, which rewrites file names starting withREADMEto start withindexin relative anchor URLs.
This is useful when generating links that point toindex.htmlinstead ofREADME.html(e.g.,README_ja.md→index_ja.html).
Changes in v0.5.0 (Japanese)
- ファイル名として与えられた
-は標準入力として扱うようにした。 - 追加:
-readme-to-indexオプションを追加した。相対リンク中のREADMEで始まるファイル名(例:README_ja)をindexに変換する(例:index_ja)。拡張子.md → .htmlの変換や、相対 URL の処理はこのオプションに関係なく常に行われる。
v0.4.0
Changes in v0.4.0 (English)
- Insert
<!DOCTYPE html>into generated HTML - Implement
-title-from-fileoption 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を実装