[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-7702":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":27,"readmeContent":28,"aiSummary":29,"trendingCount":16,"starSnapshotCount":16,"syncStatus":18,"lastSyncTime":30,"discoverSource":31},7702,"markup","github\u002Fmarkup","github","Determines which markup library to use to render a content file (e.g. README) on GitHub","",null,"Ruby",6033,3371,613,19,0,1,2,15,3,41,"MIT License",false,"master",[26],"readme","2026-06-12 02:01:43","GitHub Markup\n=============\n\nThis library is the **first step** of a journey that every markup file in a repository goes on before it is rendered on GitHub.com:\n\n1. `github-markup` selects an _underlying library_ to convert the raw markup to HTML. See the list of [supported markup formats](#markups) below.\n1. The HTML is sanitized, aggressively removing things that could harm you and your kin—such as `script` tags, inline-styles, and `class` or `id` attributes.\n1. Syntax highlighting is performed on code blocks. See [github\u002Flinguist](https:\u002F\u002Fgithub.com\u002Fgithub\u002Flinguist#syntax-highlighting) for more information about syntax highlighting.\n1. The HTML is passed through other filters that add special sauce, such as emoji, task lists, named anchors, CDN caching for images, and autolinking.\n1. The resulting HTML is rendered on GitHub.com.\n\nPlease note that **only the first step** is covered by this gem — the rest happens on GitHub.com.  In particular, `markup` itself does no sanitization of the resulting HTML, as it expects that to be covered by whatever pipeline is consuming the HTML.\n\nPlease see our [contributing guidelines](CONTRIBUTING.md) before reporting an issue.\n\nMarkups\n-------\n\nThe following markups are supported.  The dependencies listed are required if\nyou wish to run the library. You can also run `script\u002Fbootstrap` to fetch them all.\n\n* [.markdown, .mdown, .mkdn, .md](http:\u002F\u002Fdaringfireball.net\u002Fprojects\u002Fmarkdown\u002F) -- `gem install commonmarker` (https:\u002F\u002Fgithub.com\u002Fgjtorikian\u002Fcommonmarker)\n* [.textile](https:\u002F\u002Ftextile-lang.com\u002F) -- `gem install RedCloth` (https:\u002F\u002Fgithub.com\u002Fjgarber\u002Fredcloth)\n* [.rdoc](https:\u002F\u002Fruby.github.io\u002Frdoc\u002F) -- `gem install rdoc -v 3.6.1`\n* [.org](http:\u002F\u002Forgmode.org\u002F) -- `gem install org-ruby` (https:\u002F\u002Fgithub.com\u002Fwallyqs\u002Forg-ruby)\n* [.creole](http:\u002F\u002Fwikicreole.org\u002F) -- `gem install creole` (https:\u002F\u002Fgithub.com\u002Flarsch\u002Fcreole)\n* [.mediawiki, .wiki](http:\u002F\u002Fwww.mediawiki.org\u002Fwiki\u002FHelp:Formatting) -- `gem install wikicloth` (https:\u002F\u002Fgithub.com\u002Fnricciar\u002Fwikicloth)\n* [.rst](http:\u002F\u002Fdocutils.sourceforge.net\u002Frst.html) -- `pip install docutils`\n* [.asciidoc, .adoc, .asc](http:\u002F\u002Fasciidoc.org\u002F) -- `gem install asciidoctor` (http:\u002F\u002Fasciidoctor.org)\n* [.pod](http:\u002F\u002Fsearch.cpan.org\u002Fdist\u002Fperl\u002Fpod\u002Fperlpod.pod) -- `Pod::Simple::XHTML`\n  comes with Perl >= 5.10. Lower versions should install Pod::Simple from CPAN.\n\nInstallation\n-----------\n\n```\ngem install github-markup\n```\n\nor\n\n```\nbundle install\n```\n\nfrom this directory.\n\nUsage\n-----\n\nBasic form:\n\n```ruby\nrequire 'github\u002Fmarkup'\n\nGitHub::Markup.render('README.markdown', \"* One\\n* Two\")\n```\n\nMore realistic form:\n\n```ruby\nrequire 'github\u002Fmarkup'\n\nGitHub::Markup.render(file, File.read(file))\n```\n\nAnd a convenience form:\n\n```ruby\nrequire 'github\u002Fmarkup'\n\nGitHub::Markup.render_s(GitHub::Markups::MARKUP_MARKDOWN, \"* One\\n* Two\")\n```\n\nLocal Development\n-----------------\n\n```sh\npython3 -m venv .venv\nsource .venv\u002Fbin\u002Factivate\ncd script\n.\u002Fbootstrap\n```\n\nContributing\n------------\n\nSee [Contributing](CONTRIBUTING.md).\n","github\u002Fmarkup 是一个用于确定在 GitHub 上渲染内容文件（如 README）时应使用哪种标记库的 Ruby 项目。其核心功能在于选择适当的底层库将原始标记转换为 HTML，支持包括 Markdown、Textile、RDoc 等在内的多种标记格式。此外，该项目还提供了简单的 API 供开发者集成到自己的应用中以实现类似 GitHub 的文档渲染效果。适用于需要在 Web 应用或服务中展示来自 GitHub 仓库的文档预览的场景，如构建个人博客、项目文档站等。","2026-06-11 03:13:54","top_language"]