{"id":28818428,"url":"https://github.com/e79180/mdbook-mergecells","last_synced_at":"2025-07-21T12:03:41.918Z","repository":{"id":299157317,"uuid":"1002223869","full_name":"E79180/mdbook-mergecells","owner":"E79180","description":"Adds cell merging capabilities to mdBook tables.","archived":false,"fork":false,"pushed_at":"2025-06-16T02:01:52.000Z","size":23,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-23T11:01:39.504Z","etag":null,"topics":["go","golang","html","markdown","mdbook","mdbook-plugins","mdbook-preprocessor"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/E79180.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-15T01:44:32.000Z","updated_at":"2025-06-17T00:48:20.000Z","dependencies_parsed_at":"2025-06-16T02:30:45.269Z","dependency_job_id":"45301e5b-ab7a-483c-b391-cd62f3150107","html_url":"https://github.com/E79180/mdbook-mergecells","commit_stats":null,"previous_names":["doubleu9264/mdbook-mergecells","e79180/mdbook-mergecells"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/E79180/mdbook-mergecells","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/E79180%2Fmdbook-mergecells","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/E79180%2Fmdbook-mergecells/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/E79180%2Fmdbook-mergecells/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/E79180%2Fmdbook-mergecells/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/E79180","download_url":"https://codeload.github.com/E79180/mdbook-mergecells/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/E79180%2Fmdbook-mergecells/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266296771,"owners_count":23907012,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":["go","golang","html","markdown","mdbook","mdbook-plugins","mdbook-preprocessor"],"created_at":"2025-06-18T19:05:17.308Z","updated_at":"2025-07-21T12:03:41.908Z","avatar_url":"https://github.com/E79180.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mdbook-mergecells\n\nAdds cell merging capabilities to mdBook tables.\n\n## Installation\n\n1. Properly install the Go programming language. Use the `go version` command to verify it;\n1. Execute the command `go install github.com/E79180/mdbook-mergecells` to compile and install the binary locally;\n1. Add the line `[preprocessor.mergecells]` to the `book.toml` file in your mdBook project directory.\n\n## How to Use\n\nAdd the annotation `@span:$colspan,$rowspan` to cells that need to be merged right or down. For example:\n\n```markdown\nA|B|C|D|E\n--|--|--|--|--\nA|B|C|D|E\nA@span:2,2|B|C|D|E\nA|B|C|D|E\nA|B|C|D|E\n```\n\nThis will result in: ![result](image.png)\n\n\u003e Note: After merging, only the content of the first cell is preserved. This library does not support Markdown syntax within tables; please use HTML tags for formatting requirements.\n\n# mdbook-mergecells\n\n为mdBook提供合并单元格的功能。\n\n## 安装\n\n1. 正确的安装Go编程语言，使用`go version`命令来检查它；\n1. 执行命令`go install github.com/E79180/mdbook-mergecells@latest`以编译二进制文件并安装到本地；\n1. 在您mdBook项目目录中的`book.toml`文件添加一行`[preprocessor.mergecells]`\n\n## 如何使用\n\n为需要向右或向下合并的单元格添加注解`@span:$colspan,$rowspan`，例如\n\n```markdown\nA|B|C|D|E\n--|--|--|--|--\nA|B|C|D|E\nA@span:2,2|B|C|D|E\nA|B|C|D|E\nA|B|C|D|E\n```\n\n结果将会是：![result](image.png)\n\n\u003e 注意：合并后只保留第一个单元格中的内容。该库不支持表格内部markdown语法，有格式需求请用html标签。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe79180%2Fmdbook-mergecells","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fe79180%2Fmdbook-mergecells","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe79180%2Fmdbook-mergecells/lists"}