{"id":18881071,"url":"https://github.com/tylertemp/md-nlcontinuous","last_synced_at":"2025-06-11T21:06:40.287Z","repository":{"id":86362593,"uuid":"49363722","full_name":"TylerTemp/md-nlcontinuous","owner":"TylerTemp","description":"Python Markdown extension which do not add space after line break in Chinese","archived":false,"fork":false,"pushed_at":"2016-02-04T15:56:54.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-23T22:39:27.120Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/TylerTemp.png","metadata":{"files":{"readme":"README.rst","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":"2016-01-10T11:16:25.000Z","updated_at":"2016-01-11T09:37:35.000Z","dependencies_parsed_at":"2023-04-27T01:27:36.399Z","dependency_job_id":null,"html_url":"https://github.com/TylerTemp/md-nlcontinuous","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TylerTemp/md-nlcontinuous","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerTemp%2Fmd-nlcontinuous","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerTemp%2Fmd-nlcontinuous/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerTemp%2Fmd-nlcontinuous/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerTemp%2Fmd-nlcontinuous/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TylerTemp","download_url":"https://codeload.github.com/TylerTemp/md-nlcontinuous/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerTemp%2Fmd-nlcontinuous/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259340637,"owners_count":22843031,"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-11-08T06:47:14.083Z","updated_at":"2025-06-11T21:06:40.269Z","avatar_url":"https://github.com/TylerTemp.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":".. md-nlcontinuous\n.. README.rst\n\nmd-nlcontinuous\n===============\n\nPython Markdown extension which prevents white space after line break in Chinese\n\nInstall\n-------\n\n.. code:: bash\n\n    pip install git+git://github.com/TylerTemp/md-nlcontinuous.git\n\n\nUsage\n-----\n\n.. code:: python\n\n    import markdown\n    import nlcontinuous\n    s = '中文\\n中文'\n    print(markdown.markdown(s, extensions=[nlcontinuous.makeExtension()])\n    # \u003cp\u003e中文中文\u003c/p\u003e\n\nBy default markdown will keep the line breaker (`\\n`), which is not neccessary\nin Chinese.\n\n`nlcontinuous` will remove that space, but keep it when it's not Chinese.\n\n.. code:: python\n\n    \u003e\u003e\u003e s = '中文\\n中文'\n    \u003e\u003e\u003e markdown.markdown(s)\n    '\u003cp\u003e中文\\n中文\u003c/p\u003e'\n    \u003e\u003e\u003e markdown.markdown(s, extensions=[nlcontinuous.makeExtension()])\n    '\u003cp\u003e中文中文\u003c/p\u003e'\n    \u003e\u003e\u003e markdown.markdown('中文\\nEnglish', extensions=[nlcontinuous.makeExtension()])\n    '\u003cp\u003e中文\\nEnglish\u003c/p\u003e'\n    \u003e\u003e\u003e markdown.markdown('嗯。\\n就酱', extensions=[nlcontinuous.makeExtension()])  # zh-punctuation\n    '\u003cp\u003e嗯。就酱\u003c/p\u003e'\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftylertemp%2Fmd-nlcontinuous","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftylertemp%2Fmd-nlcontinuous","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftylertemp%2Fmd-nlcontinuous/lists"}