{"id":13473600,"url":"https://github.com/borgar/textile-js","last_synced_at":"2025-04-04T13:11:14.998Z","repository":{"id":4108978,"uuid":"5218672","full_name":"borgar/textile-js","owner":"borgar","description":"A fully featured Textile parser in JavaScript","archived":false,"fork":false,"pushed_at":"2023-12-14T18:15:18.000Z","size":1070,"stargazers_count":213,"open_issues_count":22,"forks_count":47,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-28T12:05:59.988Z","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/borgar.png","metadata":{"files":{"readme":"README.textile","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":"2012-07-28T23:50:00.000Z","updated_at":"2025-03-20T19:45:41.000Z","dependencies_parsed_at":"2024-06-18T14:03:06.459Z","dependency_job_id":"42a22b54-a974-4cef-a777-0e75049b6109","html_url":"https://github.com/borgar/textile-js","commit_stats":{"total_commits":94,"total_committers":9,"mean_commits":"10.444444444444445","dds":"0.12765957446808507","last_synced_commit":"35b66e975651ee01738ff36134f496dcfadf4f6f"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borgar%2Ftextile-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borgar%2Ftextile-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borgar%2Ftextile-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borgar%2Ftextile-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/borgar","download_url":"https://codeload.github.com/borgar/textile-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247182337,"owners_count":20897379,"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-07-31T16:01:05.191Z","updated_at":"2025-04-04T13:11:14.978Z","avatar_url":"https://github.com/borgar.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"h1. textile.js\n\nAttempt at an implementation of fully featured Textile parser in JavaScript that runs reasonably fast and mostly avoids outputting broken HTML.\n\nGive it a go in \"a live textile web editor\":http://borgar.github.io/textile-js/.\n\n\nh2. Install\n\nbc. $ npm install textile-js\n\n\nh2. Options\n\nThe basic interface mimics \"marked\":https://github.com/chjj/marked, the popular markdown parser. So if you use that in your project then you can support Textile as well with minimal effort.\n\nCurrently, the only supported option is @breaks@ which can be used to enable/disable the default behavior of line-breaking single newlines within blocks.\n\n\nh2. Usage\n\nbc. console.log( textile( \"I am using __textile__.\" ) );\n\nYou can also get to the syntax tree, which uses \"JsonML\":http://www.jsonml.org/.\n\nbc. var jsonml = textile.parse( text );\nconsole.log( jsonml );\n\n\nh2. CLI\n\nbc. $ textile -o hello.html\nhello world\n^D\n$ cat hello.html\n\u003cp\u003ehello world\u003c/p\u003e\n\n\nh2. License\n\nCopyright (c) 2012, Borgar Þorsteinsson (MIT License).\n\nSee LICENSE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborgar%2Ftextile-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborgar%2Ftextile-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborgar%2Ftextile-js/lists"}