{"id":32176383,"url":"https://github.com/radude/mdx_truly_sane_lists","last_synced_at":"2025-10-21T19:59:22.496Z","repository":{"id":45751977,"uuid":"119873082","full_name":"radude/mdx_truly_sane_lists","owner":"radude","description":"Extension for Python-Markdown that makes lists truly sane. Custom indents for nested lists and fix for messy linebreaks and paragraphs between lists.","archived":false,"fork":false,"pushed_at":"2023-08-08T12:02:52.000Z","size":34,"stargazers_count":98,"open_issues_count":10,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-21T19:59:19.293Z","etag":null,"topics":["extension","markdown","markdown-extension","markdown-extra","markup","python-markdown"],"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/radude.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":"2018-02-01T18:01:50.000Z","updated_at":"2025-09-23T04:59:30.000Z","dependencies_parsed_at":"2024-06-18T17:12:11.647Z","dependency_job_id":null,"html_url":"https://github.com/radude/mdx_truly_sane_lists","commit_stats":{"total_commits":49,"total_committers":4,"mean_commits":12.25,"dds":"0.16326530612244894","last_synced_commit":"0ce5acb09c3ab9cfc268c351417697dc24d26b7c"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/radude/mdx_truly_sane_lists","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radude%2Fmdx_truly_sane_lists","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radude%2Fmdx_truly_sane_lists/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radude%2Fmdx_truly_sane_lists/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radude%2Fmdx_truly_sane_lists/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/radude","download_url":"https://codeload.github.com/radude/mdx_truly_sane_lists/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radude%2Fmdx_truly_sane_lists/sbom","scorecard":{"id":758007,"data":{"date":"2025-08-11","repo":{"name":"github.com/radude/mdx_truly_sane_lists","commit":"0ce5acb09c3ab9cfc268c351417697dc24d26b7c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":1,"reason":"Found 3/20 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 13 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T22:21:43.642Z","repository_id":45751977,"created_at":"2025-08-22T22:21:43.642Z","updated_at":"2025-08-22T22:21:43.642Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280325298,"owners_count":26311419,"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-10-21T02:00:06.614Z","response_time":58,"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":["extension","markdown","markdown-extension","markdown-extra","markup","python-markdown"],"created_at":"2025-10-21T19:59:17.506Z","updated_at":"2025-10-21T19:59:22.489Z","avatar_url":"https://github.com/radude.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mdx Truly Sane Lists\n\n[![Build Status](https://travis-ci.org/radude/mdx_truly_sane_lists.svg?branch=master)](https://travis-ci.org/radude/mdx_truly_sane_lists)\n\n\nAn extension for [Python-Markdown](https://github.com/Python-Markdown/markdown) that makes lists truly sane. Features custom indents for nested lists and fix for messy linebreaks and paragraphs between lists.\n\n\n## Features\n\n* `nested_indent` option: Custom indent for nested lists. Defaults to `2`. Doesn't mess with code indents, which is still 4. \n\n* `truly_sane` option: Makes linebreaks and paragraphs in lists behave as usually expected by user. No longer adds weird `p`, no extra linebreaks, no longer fuses lists together when they shouldn't be fused (see screenshots and examples below). Defaults to `True`.\n\n* Inherits [sane lists](https://python-markdown.github.io/extensions/sane_lists/) behavior, which doesn't allow the mixing of ordered and unordered lists.\n\n\n## Installation\n\n##### [Pypi](https://pypi.python.org/pypi/mdx-truly-sane-lists):\n\n```console\npip3 install mdx_truly_sane_lists\n```\n\n##### Directly from git:\n\n```console\npip3 install git+git://github.com/radude/mdx_truly_sane_lists\n```\n\n## Usage\n\nBasic:\n\n```python\nfrom markdown import markdown\n\n# Default config is truly_sane: True, nested_indent: 2\nmarkdown(text='some text', extensions=['mdx_truly_sane_lists']) \n```\n\nWith explicit config:\n\n```python\nfrom markdown import markdown\n\nmarkdown(text='some text',\n         extensions=[\n             'mdx_truly_sane_lists',\n         ],\n         extension_configs={\n             'mdx_truly_sane_lists': {\n                 'nested_indent': 2,\n                 'truly_sane': True,\n             }},\n         )\n```\n\n## Screenshots and examples\n\nYou can preview the new behaviour live at [rentry.co](https://rentry.co/) (uses `nested_indent: 2, truly_sane: True`)\n\n\nSome ugly screenshots because I'm lazy and cannot into gimp:\n\n![](https://i.imgur.com/7l2bWLY.png)\n![](https://i.imgur.com/Ruwfb2A.png)\n\n## HTML\n\nData:\n```markdown\n- attributes\n \n- customer \n    - first_name\n    - family_name\n    - email\n- person\n    - first_name\n    - family_name\n    - birth_date\n- subscription_id\n\n- request\n```\n\nNo extension:\n```html before\n\u003cul\u003e\n\u003cli\u003e\n\u003cp\u003eattributes\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003ecustomer \u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003efirst_name\u003c/li\u003e\n\u003cli\u003efamily_name\u003c/li\u003e\n\u003cli\u003eemail\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003eperson\u003cul\u003e\n\u003cli\u003efirst_name\u003c/li\u003e\n\u003cli\u003efamily_name\u003c/li\u003e\n\u003cli\u003ebirth_date\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003esubscription_id\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp\u003erequest\u003c/p\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n```\n\nTruly sane + 4 spaces:\n```html\n\u003cul\u003e\n\u003cli\u003eattributes\u003c/li\u003e\n\u003c/ul\u003e\n\u003cul\u003e\n\u003cli\u003ecustomer \u003cul\u003e\n\u003cli\u003efirst_name\u003c/li\u003e\n\u003cli\u003efamily_name\u003c/li\u003e\n\u003cli\u003eemail\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003eperson\u003cul\u003e\n\u003cli\u003efirst_name\u003c/li\u003e\n\u003cli\u003efamily_name\u003c/li\u003e\n\u003cli\u003ebirth_date\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003esubscription_id\u003c/li\u003e\n\u003c/ul\u003e\n\u003cul\u003e\n\u003cli\u003erequest\u003c/li\u003e\n\u003c/ul\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradude%2Fmdx_truly_sane_lists","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fradude%2Fmdx_truly_sane_lists","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradude%2Fmdx_truly_sane_lists/lists"}