{"repo":"teekennedy/goldmark-markdown","free":true,"listed":false,"github":"https://github.com/teekennedy/goldmark-markdown","clone":"git clone https://github.com/teekennedy/goldmark-markdown.git","description":"Goldmark extension that renders and formats markdown files","language":"Go","stars":21,"topics":["markdown","go","goldmark-extension","goldmark","ast","commonmark"],"license":"MIT","category":"productivity","readme_excerpt":"goldmark-markdown Goldmark-markdown is a [goldmark] renderer that renders to markdown. It can be used directly as an auto-formatter for markdown source, or extended via goldmark's powerful [AST] transformers to programmatically transform markdown files. This module was created for my [update-a-changelog] GitHub Action, to allow it to intelligently merge new changelog entries from Pull Requests into CHANGELOG.md, as well as add new versions to CHANGELOG.md when the corresponding tag is pushed. As a formatter You can use goldmark-markdown to format existing markdown documents. It removes extraneous whitespace, and enforces consistent style for things like indentation, headings, and lists. Options You can control the style of various markdown elements via functional options that are passed to the renderer. Functional Option Type Description ---------------------------- --------------------------------- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- WithIndentStyle markdown.IndentStyle Indent nested blocks with spaces or tabs. WithHeadingStyle markdown.HeadingStyle Render markdown headings as ATX ( # -based), Setext (underlined with === or --- ), or variants thereof. WithThematicBreakStyle markdown.ThematicBreakStyle Render thematic breaks with - , , or . WithThematicBreakLength markdown.ThematicBreakLength Number of characters to use in a thematic break (","default_branch":null,"files":null,"tree":[],"storefront":"/r/teekennedy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/teekennedy/goldmark-markdown/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}