{"id":13910572,"url":"https://github.com/gojefferson/dumbdown","last_synced_at":"2025-07-18T09:32:07.703Z","repository":{"id":34901649,"uuid":"158017929","full_name":"gojefferson/dumbdown","owner":"gojefferson","description":"Extremely simplified markdown parsing and HTML construction","archived":true,"fork":false,"pushed_at":"2023-12-15T15:25:40.000Z","size":600,"stargazers_count":2,"open_issues_count":12,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-30T03:44:22.871Z","etag":null,"topics":["markdown-parser","markdown-to-html","slack","text-formatting"],"latest_commit_sha":null,"homepage":"","language":"Python","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/gojefferson.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":"2018-11-17T19:32:23.000Z","updated_at":"2024-01-09T20:27:30.000Z","dependencies_parsed_at":"2023-01-15T10:15:53.903Z","dependency_job_id":null,"html_url":"https://github.com/gojefferson/dumbdown","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/gojefferson%2Fdumbdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gojefferson%2Fdumbdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gojefferson%2Fdumbdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gojefferson%2Fdumbdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gojefferson","download_url":"https://codeload.github.com/gojefferson/dumbdown/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226388647,"owners_count":17617311,"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":["markdown-parser","markdown-to-html","slack","text-formatting"],"created_at":"2024-08-07T00:01:34.982Z","updated_at":"2024-11-25T19:31:19.410Z","avatar_url":"https://github.com/gojefferson.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"[![CircleCI](https://circleci.com/gh/gojefferson/dumbdown.svg?style=svg)](https://circleci.com/gh/gojefferson/dumbdown)\n\n\n# dumbdown\nExtremely simplified quasi-markdown to HTML parsing, available in both Javascript and Python.\n\n## Installation\n\nTo install the python package:\n\n```\npip install dumbdown\n```\n\nTo install the npm package:\n\n```\nnpm install dumbdown\n```\n\n# Demo\n\nTo see the demo: clone this repo, install node modules from `package.json` and open `demo.html` in your favorite browser. Try typing some text with * and _ characters.\n\n\n## Usage\nIt allows 3 kinds of formatting marks, **bold**, *italic*, and \u003e blockquotes but it uses Slack's syntax for these and not Markdown syntax.\n\nBold text must have `*` surrounding it:\n\n```\nFor example, *this would be bold*.\n```\n\nItalicized text has `_` surrounding it:\n```\nAnd _this would be in italics_.\n```\n\nBold and italics can be nested within each other:\n```\n*bold _bold-italics_*, _italics with some *bold* inside_. *_Nice!_*.\n```\n\nA blockquote is a line starting with `\u003e`:\n```\n\u003e this is a blockquote\n\u003e woo\n```\n\n## Python API\n\nThe Python version provides two functions: `to_html` and `to_plain`.\n\n```py\n\u003e\u003e\u003e from dumbdown import to_html, to_plain\n\n\u003e\u003e\u003e to_html(\"*This is bold _this is bold ital._*\\nThis is on a new line\")\n'\u003cp\u003e\u003cstrong\u003eThis is bold \u003ci\u003ethis is bold ital.\u003c/i\u003e\u003c/strong\u003e\u003c/p\u003e\u003cp\u003eThis is on a new line\u003c/p\u003e'\n\n\u003e\u003e\u003e to_plain(\"*This is bold _this is bold ital._*\\nThis is on a new line\")\n'This is bold this is bold ital. This is on a new line'\n```\n\n## Javascript API\n\nThe Javascript version provides two functions: `toHtml` and `toPlain`.\n\n```js\n\u003e\u003e\u003e import { toHtml, toPlain } from \"dumbdown\";\n\n\u003e\u003e\u003e toHtml(\"*This is bold _this is bold ital._*\\nThis is on a new line\");\n'\u003cp\u003e\u003cstrong\u003eThis is bold \u003ci\u003ethis is bold ital.\u003c/i\u003e\u003c/strong\u003e\u003c/p\u003e\u003cp\u003eThis is on a new line\u003c/p\u003e'\n\n\u003e\u003e\u003e toPlain(\"*This is bold _this is bold ital._*\\nThis is on a new line\")\n'This is bold this is bold ital. This is on a new line'\n```\n\n## Testing\nTo test:\n\n### Python\n```\npytest\n```\n\n### Javascript\n\n```\nyarn run test\n```\n\n# Releasing\n\n## Python / PyPi\n\n### Build\n```\npython setup.py sdist bdist_wheel\n```\n\n### Release\n\n```\ntwine upload dist/*\n```\n\n## Javascript / NPM\n\n### Build\n\n```\nyarn run build\n```\n\n### Release\n\n```\nnpm publish\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgojefferson%2Fdumbdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgojefferson%2Fdumbdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgojefferson%2Fdumbdown/lists"}