Commit Graph

11 Commits

Author SHA1 Message Date
Konstantin Schaper
32b268e6f5 add extension point for custom link protocol renderers in markdown (#1639)
This PR allows for custom link protocols to be declared and rendered in markdown.
A new extension point markdown-renderer.link.protocol allows for renderers to hook into the api and implement any custom protocol.

Example:

[description](myprotocol:somelink)
binder.bind("markdown-renderer.link.protocol", { protocol: "myprotocol", renderer: MyProtocolRenderer })
This renderer functions similar to link renderers and receives the href and the description. The latter as the children property.

This PR also fixes two bugs where external- and anchor links were not correctly rendered in pull requests by the review-plugin.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2021-04-29 13:15:22 +02:00
Eduard Heimbuch
84c1e7ed37 Add new extension point for repository avatars (#1614)
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2021-04-15 11:14:42 +02:00
Konstantin Schaper
831c8b0271 add markdown codeblock renderer extension point (#1492)
Introduces a new extension point that allows developers to overwrite the default syntax highlighting renderer for specific code blocks defined in markdown. The extension point is dynamic and follows the pattern "markdown-renderer.code.{language}".
This feature lays the groundwork for the scm-markdown-plantuml-plugin.
2021-01-07 09:25:31 +01:00
Sebastian Sdorra
c352f9a751 added deprecation mark 2020-07-02 10:54:06 +02:00
Sebastian Sdorra
08aa6fafff fixed typo 2020-07-02 10:53:48 +02:00
René Pfeuffer
0387b7aa5e Describe changed extension point 2020-07-02 08:14:26 +02:00
René Pfeuffer
f1ce32afd6 Fix typo 2020-06-11 11:27:39 +02:00
Sebastian Sdorra
d03af49df9 update documentation
* fix broken links
* remove v1 related stuff
* restructure
2020-06-11 11:27:39 +02:00
René Pfeuffer
b1485896e0 Move plugin development to top level navigation 2020-05-07 08:47:11 +02:00
René Pfeuffer
9226654c5d Structure navigation 2020-05-06 21:36:20 +02:00
Konstantin Schaper
8b2d9d1d95 Establish preliminary structure for documentation 2020-05-06 19:56:34 +02:00