aboutsummaryrefslogtreecommitdiff
path: root/plugins/gfm/api
AgeCommit message (Collapse)Author
2022-05-04Support code blocks and inline code for GFM format (#2485)Don Cross
Fixes #2477. Inline code, text that is nested within a pair of backquotes, is now converted into GitHub Flavored Markdown (gfm) without stripping out the backquotes. For example: The parameter `sum` must be a non-negative real number. Code blocks, which are any number of lines of literal text between triple-backquotes, and an optional programming language name, are now preserved. If absent, the programming language is assumed to be "kotlin". This follows the behavior of the html renderer. For example: Here is an example of calling the function: ```kotlin val sum = addThemUp(left, right) ```
2021-07-19Minor: rename `buildNewLine` (#1987)Mike Sinkovsky
* minor: rename `DefaultRenderer.buildNewLine` to `buildLineBreak` to better describe what it actually does. * minor: rename `CommonmarRenderer.appendNewLine` to `buildNewLine` for consistency.
2021-06-25Cleanup paragraphs and tables in GFM renderer (#1946)Mike Sinkovsky
* GFM renderer: cleanup paragraphs * GFM renderer: cleanup tables * GFM renderer: add tests for wrong header in table Table with extra cell in row is really generated by `all-modules-page` plugin * Remove commented-out lines * Add BriefCommentPreprocessor which inserts a line break between a signature and a brief comment Fixed a bug with `mapTransform` function which replaces table headers with their contents Co-authored-by: Kamil Doległo <kamil.doleglo@interia.pl>
2021-04-14Introduce binary compatibility plugin (#1774)Marcin Aman
* Introduce binary compatibility plugin * Update diffs