{"id":22579282,"url":"https://github.com/pr4j3sh/hash-tag","last_synced_at":"2026-02-12T11:47:10.806Z","repository":{"id":265777795,"uuid":"895967294","full_name":"pr4j3sh/hash-tag","owner":"pr4j3sh","description":"markdown to html parser","archived":false,"fork":false,"pushed_at":"2024-12-12T13:20:52.000Z","size":58,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T15:52:40.476Z","etag":null,"topics":["compiler","html","markdown","markdowntohtml","parser"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/hash-tag","language":"Rust","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/pr4j3sh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-11-29T09:28:23.000Z","updated_at":"2025-02-24T17:15:37.000Z","dependencies_parsed_at":"2024-11-30T22:38:08.465Z","dependency_job_id":"6792e651-2a16-4087-9871-6c909ae43e65","html_url":"https://github.com/pr4j3sh/hash-tag","commit_stats":null,"previous_names":["pr4j3sh/hashtag","pr4j3sh/hash-tag"],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pr4j3sh%2Fhash-tag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pr4j3sh%2Fhash-tag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pr4j3sh%2Fhash-tag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pr4j3sh%2Fhash-tag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pr4j3sh","download_url":"https://codeload.github.com/pr4j3sh/hash-tag/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248270448,"owners_count":21075794,"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":["compiler","html","markdown","markdowntohtml","parser"],"created_at":"2024-12-08T05:06:48.763Z","updated_at":"2026-02-12T11:47:05.754Z","avatar_url":"https://github.com/pr4j3sh.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hash-tag\n\n\u003e \u003c#\u003e\n\nMarkdown to HTML Parser written in `rust`, built with wasm, for direct usage in `javascript`.\n\n### Features\n\n- Parses headings, blockquotes, inline code, codeblock, paragraphs, links, bold, italics, unordered lists and ordered list.\n- Visualize outputs using frames ui.\n\n## Usage\n\n### Using `cargo`\n\n```bash\ncargo install hash-tag\n```\n\n- Use `run`\n\n```bash\nhash-tag path/to/file.md\n```\n\n\u003e Generates a `index.html` file\n\n- Specify output file using `-o` flag\n\n```bash\nhash-tag path/to/file.md -o path/to/file.html\n```\n\n- Visualize output file using `-v` flag\n\n```bash\nhash-tag path/to/file.md -v path/to/view.html\n```\n\n\u003e This uses [frames ui](https://pr4j3sh.github.io/ui/).\n\n### Using `npm`\n\n- Create a node environment\n\n```bash\nmkdir test\ncd test\nnpm init -y\n```\n\n- Add `\"type\": \"module\",` to `package.json` file.\n\n- Install [@pr4j3sh/hash-tag](https://www.npmjs.com/package/@pr4j3sh/hash-tag) npm package\n\n```bash\nnpm install @pr4j3sh/hash-tag\n```\n\n- Create a new file `index.js` and write the code as:\n\n```js\nimport * as wasm from \"@pr4j3sh/hash-tag\";\n\nconst html = wasm.parse(\"## heading 2\\n\");\nconsole.log(html);\n```\n\n- Run using\n\n```bash\nnode index.js\n```\n\n- Outputs\n\n```html\n\u003ch2\u003eheading 2\u003c/h2\u003e\n```\n\n## References\n\n- [Rust Documentation](https://www.rust-lang.org/learn/get-started)\n- [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen)\n- [wasm-pack](https://github.com/rustwasm/wasm-pack)\n- [frames ui](https://pr4j3sh.github.io/ui/)\n- [@pr4j3sh/frames](https://github.com/pr4j3sh/frames)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpr4j3sh%2Fhash-tag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpr4j3sh%2Fhash-tag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpr4j3sh%2Fhash-tag/lists"}