{"id":26466070,"url":"https://github.com/textile/textile-spec","last_synced_at":"2025-03-19T11:18:26.366Z","repository":{"id":1396248,"uuid":"1403734","full_name":"textile/textile-spec","owner":"textile","description":"Textile specification","archived":false,"fork":false,"pushed_at":"2011-02-24T17:22:41.000Z","size":149,"stargazers_count":41,"open_issues_count":5,"forks_count":3,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-03-25T20:01:07.127Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"wadey/node-thrift","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/textile.png","metadata":{"files":{"readme":"README.textile","changelog":"CHANGELOG","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-02-23T20:03:44.000Z","updated_at":"2024-02-08T21:09:15.000Z","dependencies_parsed_at":"2022-07-07T11:13:11.415Z","dependency_job_id":null,"html_url":"https://github.com/textile/textile-spec","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/textile%2Ftextile-spec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/textile%2Ftextile-spec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/textile%2Ftextile-spec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/textile%2Ftextile-spec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/textile","download_url":"https://codeload.github.com/textile/textile-spec/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244413483,"owners_count":20448711,"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":"2025-03-19T11:18:25.764Z","updated_at":"2025-03-19T11:18:26.361Z","avatar_url":"https://github.com/textile.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"h1. Textile Specifications\n\nThese are the specifications for the Textile markup language. Implementations (libraries for PHP, Ruby, Python, etc.) can use them in their tests to make sure they are compliant and they are also used to generate the online Textile documentation.\n\nh2. Organization\n\nThe files herein each specify an aspect of the Textile markup language. They are organized from a user's perspective, not according to their implementation. As the specification is developed, please make an effort to keep it abstract, describing Textile the markup language according to what it should do on all platforms. For the most part, leave the testing of what it should not do and bugs it should not have to your platform-specific tests.\n\nh2. Format\n\nh3. Index\n\nEach spec file must be listed in the :specs section of index.yaml. Its file path is relative to the index file.\n\nh3. Specs\n\nThe examples in the specs are grouped into sections. Frequently, the first example in a section repeats the name of its section, in which case the reference manual will include the example without a redundant headline.\n\nExample names may be strings or symbols. If the name is a symbol (initial colon and underscores instead of spaces), the example will serve for a test only and will not appear in the Textile reference.\n\nEach example should have:\n\n* desc - A description of the example--in Textile, of course!\n* input - The Textile code to be passed into a parser\n* output - The expected output from a parser\n\nExample:\n\n\u003cpre\u003e\nParagraphs:\n  Paragraphs:\n    desc: Paragraphs are the default block type.\n    input: \"This is a paragraph.\"\n    output: \"\u003cp\u003eThis is a paragraph.\u003c/\u003e\"\n  Explicit paragraphs:\n    desc: They can also be made explicit with [@p. @]\n    input: \"p. Paragraph\"\n    output: \"\u003cp\u003eParagraph\u003c/p\u003e\"\n  :capital_p:\n    desc: A capital P abbreviation may start the sentence.\n    input: \"P. T. Barnum was a U.S. Showman\"\n    output: \"\u003cp\u003eP. T. Barnum was a U.S. Showman\u003c/p\u003e\"\n\u003c/pre\u003e\n\nh2. Using in your parser tests\n\nIf you are the maintainer of a Textile parsing library, you can incorporate these specifications into your automated tests. YAML parsing libraries are available for many platforms; you just have to write the code to iterate over the examples.\n\nIf your project uses git, the specifications can be incorporated as a git submodule for easy tracking of the standard to which your library complies.\n\nh2. Development\n\nDevelopment of the Textile spec takes place on GitHub. You may fork the spec, make changes and send a pull request. Discussion of examples will take place using GitHub comments on the pull request, commit, file or line in question.\n\nAll development is to take place on *topic* or *version branches*. Once project admins approve changes and increment the spec version, they will merge it to the *master branch*. This way, the master branch is always in a consistent, \"official\" state and can be relied upon in implementation tests and reference guides. Experimentation and discussion takes place elsewhere.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftextile%2Ftextile-spec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftextile%2Ftextile-spec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftextile%2Ftextile-spec/lists"}