Open jhildenbiddle opened 1 month ago
Nice and pretty styling solution.
FYI: Add and override the blockquote
parser in docsify by marked v13+.
export const blockquoteCompiler = ({ renderer }) =>
(renderer.blockquote = function ({ tokens }) {
const body = this.parser.parse(tokens);
// we could add the GFM admonitions / callouts support here.
return `<blockquote>${body}</blockquote>`;
});
Feature request
Support GFM admonitions / callouts.
Problem or desire
GitHub recently added supports for markdown admonitions / callouts. Docsify should add support for this format so that these elements are rendered as expected in both GitHub and Docsify environments.
GitHub Markdown:
GitHub Output:
Proposal
?>
and!>
style helpers in favor of GFM-style blockquote helpers. This will address long-standing issues with multi-line helpers (e.g. #483 and #1588) and poor rendering of these helpers when rendering Markdown outside of Docsify (e.g. GitHub).Implementation