{"id":13929632,"url":"https://github.com/blazood/mdbook-regex-replacer","last_synced_at":"2025-07-19T11:32:41.239Z","repository":{"id":57637544,"uuid":"345276999","full_name":"blazood/mdbook-regex-replacer","owner":"blazood","description":"this is a preprocessor which  invoke regex.replace_all() to replcae all chapter content","archived":false,"fork":false,"pushed_at":"2021-03-07T08:32:22.000Z","size":11,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-10T23:07:43.957Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blazood.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}},"created_at":"2021-03-07T06:40:47.000Z","updated_at":"2021-08-09T14:11:15.000Z","dependencies_parsed_at":"2022-09-02T03:22:02.356Z","dependency_job_id":null,"html_url":"https://github.com/blazood/mdbook-regex-replacer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blazood%2Fmdbook-regex-replacer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blazood%2Fmdbook-regex-replacer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blazood%2Fmdbook-regex-replacer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blazood%2Fmdbook-regex-replacer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blazood","download_url":"https://codeload.github.com/blazood/mdbook-regex-replacer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226597776,"owners_count":17657210,"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","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-08-07T18:02:27.415Z","updated_at":"2024-11-26T18:31:00.213Z","avatar_url":"https://github.com/blazood.png","language":"Rust","funding_links":[],"categories":["others"],"sub_categories":[],"readme":"# mdbook-regex-replacer\n\u003e this is a preprocessor which  invoke regex.replace_all() to replcae all chapter content\n\n## quick start\n\n### install mdbook-regex-replacer\n\n```shell script\ncargo install mdbook-regex-replacer\n```\n\n### configure book.toml\n\n```toml\n[book]\nauthors = [\"blazh\"]\nlanguage = \"en\"\nmultilingual = false\nsrc = \"src\"\ntitle = \"test\"\n\n# add into your book.toml\n[preprocessor.regex-replacer]\ncommand=\"mdbook-regex-replacer\"\n\n# add your regex rule\n# use crates regex \n# https://crates.io/crates/regex\n# https://docs.rs/regex/1.4.3/regex/#example-replacement-with-named-capture-groups\n[[preprocessor.regex-replacer.items]]\nregex=\"==(?P\u003cc\u003e.+?)==\"\nrep=\"\u003cmark\u003e$c\u003c/mark\u003e\"\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblazood%2Fmdbook-regex-replacer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblazood%2Fmdbook-regex-replacer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblazood%2Fmdbook-regex-replacer/lists"}