{"id":23999071,"url":"https://github.com/stocard/markdown-to-spanned","last_synced_at":"2025-07-20T07:34:18.674Z","repository":{"id":73185088,"uuid":"76365929","full_name":"Stocard/markdown-to-spanned","owner":"Stocard","description":"An Android library that allows to create styled Spanneds from Markdown","archived":false,"fork":false,"pushed_at":"2017-01-11T08:13:36.000Z","size":28,"stargazers_count":7,"open_issues_count":3,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-14T22:02:45.161Z","etag":null,"topics":["library"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Stocard.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":"2016-12-13T14:26:22.000Z","updated_at":"2024-06-06T06:34:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"9fafd4eb-7d14-4caf-b99c-aa6338da5732","html_url":"https://github.com/Stocard/markdown-to-spanned","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Stocard/markdown-to-spanned","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stocard%2Fmarkdown-to-spanned","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stocard%2Fmarkdown-to-spanned/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stocard%2Fmarkdown-to-spanned/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stocard%2Fmarkdown-to-spanned/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Stocard","download_url":"https://codeload.github.com/Stocard/markdown-to-spanned/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stocard%2Fmarkdown-to-spanned/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266085845,"owners_count":23874483,"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":["library"],"created_at":"2025-01-07T23:45:34.387Z","updated_at":"2025-07-20T07:34:18.645Z","avatar_url":"https://github.com/Stocard.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Markdown To Spanned\n=====================\n\nConversion of Markdown to Android Styled Text (Spanned Text) that can be used in Android Views that support them (TextView, EditText, Button, etc).\n\nSupports almost\\* all markdown tags from [John Gruber's Markdown Spec](http://daringfireball.net/projects/markdown/syntax) and more\\*\\*.\n\n\\* (atm) expect for images, codeblocks, and horizontal ruler\n\n\\*\\* strikeout and newlines in a paragraph content treated as real line breaks\n\n``` java\n// Convert the passed Markdown String into styled Android CharSequence\ntextView.setText(Markdown.fromMarkdown(\"This is **markdown**!\"));\n```\n\n\n\n## Features\n===========\n * Use ´Markdown.fromMarkdown()´ just as you would use ´Html.fromHtml()´ to set styled texts on your views.\n\n ** TODO insert pic of example **\n\n## Planned Features\n===================\n\n * Load content of images from urls, assets, drawables, etc.\n * Handling of horizontal ruler\n * Configuration of style classes\n * Proper newline handling in code blocks\n\n\n\n\n## Supported Markdown\n=====================\n\n** TODO add all the examples **\n\n\n## Usage\n========\n\n * TextView\n * EditText\n * Button\n * Images\n    * url\n    * drawable\n\n\n## Download\n===========\n\nAdd jitpack to you repositories\n\n```groovy\nrepositories {\n  ...\n  maven { url 'https://jitpack.io' }\n}\n```\n\nAdd this to your build.gradle\n\n```groovy\ncompile 'com.github.Stocard:markdown-to-spanned:0.1.0'\n```\n\n\n## License\n=========\n\n     Copyright 2016 Stocard GmbH\n\n     Licensed under the Apache License, Version 2.0 (the \"License\");\n     you may not use this file except in compliance with the License.\n     You may obtain a copy of the License at\n\n        http://www.apache.org/licenses/LICENSE-2.0\n\n     Unless required by applicable law or agreed to in writing, software\n     distributed under the License is distributed on an \"AS IS\" BASIS,\n     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n     See the License for the specific language governing permissions and\n     limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstocard%2Fmarkdown-to-spanned","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstocard%2Fmarkdown-to-spanned","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstocard%2Fmarkdown-to-spanned/lists"}