{"id":21202695,"url":"https://github.com/minoki/pandoc-aozora-ruby","last_synced_at":"2026-03-01T22:38:59.244Z","repository":{"id":65365917,"uuid":"155696399","full_name":"minoki/pandoc-aozora-ruby","owner":"minoki","description":"青空文庫風のルビを解釈するPandoc filterです","archived":false,"fork":false,"pushed_at":"2019-12-01T14:03:01.000Z","size":10,"stargazers_count":26,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-11-17T07:14:56.434Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/minoki.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-01T10:08:30.000Z","updated_at":"2025-08-27T16:23:28.000Z","dependencies_parsed_at":"2023-01-19T16:35:13.295Z","dependency_job_id":null,"html_url":"https://github.com/minoki/pandoc-aozora-ruby","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/minoki/pandoc-aozora-ruby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minoki%2Fpandoc-aozora-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minoki%2Fpandoc-aozora-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minoki%2Fpandoc-aozora-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minoki%2Fpandoc-aozora-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/minoki","download_url":"https://codeload.github.com/minoki/pandoc-aozora-ruby/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minoki%2Fpandoc-aozora-ruby/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29987556,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T21:06:37.093Z","status":"ssl_error","status_checked_at":"2026-03-01T21:05:45.052Z","response_time":124,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-20T20:17:44.183Z","updated_at":"2026-03-01T22:38:59.225Z","avatar_url":"https://github.com/minoki.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pandoc-aozora-ruby\n\n青空文庫風のルビを使えるようにするPandocフィルターです。\n\n## インストール\n\n```sh\n$ git clone https://github.com/minoki/pandoc-aozora-ruby.git\n$ cd pandoc-aozora-ruby\n$ stack install\n```\n\n```sh\n$ pandoc --filter pandoc-aozora-ruby-filter -o foo.html foo.md\n```\n\n## 入力フォーマット\n\nルビ対象の文字列（親文字、ベーステキスト）の前に開始記号として全角縦棒｜を置き、その後に二重山括弧《》で括った読み仮名（ルビテキスト）を書きます。\nルビ対象が漢字のみからなる場合は、全角縦棒は省略できます。\n\n今のところ、開始記号が省略できるのはルビ対象が漢字のみの場合であり、ルビ対象が「ひらがなのみ」「カタカナのみ」「アルファベットのみ」の場合の開始記号の省略には対応していません。\n\n例：\n\n```markdown\n｜単語《よみがな》\n\nとあるアーベル圏の図式追跡《ダイアグラムチェース》\n\n最小｜多項式《たこうしき》\n\nホム集合《セット》\n```\n\n漢字として扱われる文字は、\n\n- U+4E00-U+9FFF (CJK Unified Ideographs)\n    - 「仝」 U+4EDD を含む\n- U+F900-U+FAFF (CJK Compatibility Ideographs)\n- U+3400-U+4DBF (CJK Unified Ideographs Extension A)\n- U+20000-U+2FA1F (CJK Unified Ideogarphs Extension B - F, Supplement)\n- 「々」 U+3005 Ideographic Iteration Mark\n- 「〆」 U+3006 Ideographic Closing Mark\n- 「〇」 U+3007 Ideographic Number Zero\n- 「〻」 U+303B Vertical Ideographic Iteration Mark\n- 「ヶ」 U+30F6 Katakana Letter Small KE\n\nです。\n\n（TODO: 異体字選択符号？）\n\n## 出力フォーマット\n\nHTML系 (`html`, `html5`, `epub`, `epub3`) とLaTeX (`latex`) に対応しています。\n\n```html\n\u003cruby\u003e単語\u003crp\u003e《\u003c/rp\u003e\u003crt\u003eよみがな\u003c/rt\u003e\u003crp\u003e》\u003c/rp\u003e\u003c/ruby\u003e\n```\n\n```latex\n\\ruby{単語}{よみがな}\n```\n\nLaTeXの場合は、`\\ruby`コマンドを提供するLaTeXパッケージを別途読み込んでください。\n例：`okumacro`, `pxrubrica`, `luatexja-ruby`\n\n## ライセンス\n\nThe MIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminoki%2Fpandoc-aozora-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminoki%2Fpandoc-aozora-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminoki%2Fpandoc-aozora-ruby/lists"}