{"id":15621766,"url":"https://github.com/pirtleshell/lanex-renderer","last_synced_at":"2025-09-01T07:34:50.382Z","repository":{"id":91424862,"uuid":"81013588","full_name":"pirtleshell/lanex-renderer","owner":"pirtleshell","description":"markdown parser for Laniakean.com","archived":false,"fork":false,"pushed_at":"2017-02-05T23:43:02.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-03T20:58:48.361Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/pirtleshell.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}},"created_at":"2017-02-05T18:44:02.000Z","updated_at":"2017-02-05T18:45:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"15cded17-7b2a-45c6-abaf-1f0421924a9d","html_url":"https://github.com/pirtleshell/lanex-renderer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pirtleshell/lanex-renderer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirtleshell%2Flanex-renderer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirtleshell%2Flanex-renderer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirtleshell%2Flanex-renderer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirtleshell%2Flanex-renderer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pirtleshell","download_url":"https://codeload.github.com/pirtleshell/lanex-renderer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirtleshell%2Flanex-renderer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273088829,"owners_count":25043574,"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-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":[],"created_at":"2024-10-03T09:51:47.422Z","updated_at":"2025-09-01T07:34:50.339Z","avatar_url":"https://github.com/pirtleshell.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lanex-renderer\n\nThe markdown-it renderer used by [Laniakean.com](https://laniakean.com/).\n\n## What\n\nThis renderer is used in a webpack markdown loader to render markdown files into React components. It has the following features:\n\n* preserve contents in blocks fenced with `@@@`, useful for containing react components\n* escapes code blocks so that `{` and `}` are replaced with `{'{'}` and `{'}'}`\n* tables open with class `table table-responsive`\n* style tags are replaces with a React-acceptable JSON string of styling\n* relative links are rendered with `Link` instead of a regular `a`\n* some custom inputs...\n\nIt uses the following plugins:\n* markdown-it-math\n* markdown-it-attrs\n* markdown-it-abbr\n* markdown-it-footnote\n* markdown-it-ins\n* markdown-it-sub\n* markdown-it-sup\n* markdown-it-emoji\n* markdown-it-container\n* markdown-it-deflist\n* markdown-it-table-of-contents\n* markdown-it-anchor\n\n## Test\n\n```sh\n$ npm test\n\nlinks\n  when relative\n    ✓ render in \u003cLink/\u003e\n  when absolute\n    ✓ render in \u003ca\u003e when absolute\n  mailto:\n    ✓ renders as absolute\n\nhighlight\n  ✓ escapes curly brackets properly\n\nspecial containers\n  under-construction\n    ✓ shoud render the under construciton box\n  render\n    ✓ should preserve contents without a paragraph\n    ✓ parses with indents\n\ntables\n  ✓ style attr renders properly\n\n8 passing (75ms)\n```\n\n## License\n\nThis is by [Robert Pirtle](https://pirtle.xyz). Its license is [MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpirtleshell%2Flanex-renderer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpirtleshell%2Flanex-renderer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpirtleshell%2Flanex-renderer/lists"}