Skip to content

Commit 41118a4

Browse files
authored
fix(theme): preserve syntax in multi-line stability indicators (#126)
1 parent cde4f6a commit 41118a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/theme/helpers/index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const formatStability = (ctx, level, tag) => {
1111
? ctx.helpers.getCommentParts(tag.content).trim()
1212
: '';
1313
return message
14-
? `> Stability: ${level}: ${message}`
14+
? `> Stability: ${level}: ${message.replace(/\n/g, '\n> ')}`
1515
: `> Stability: ${level}`;
1616
};
1717

0 commit comments

Comments
 (0)