Skip to content

Commit

Permalink
feat: use new return value in plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
jobveldhuis committed Apr 11, 2024
1 parent c66d99c commit ddb6eb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const remarkGithubAdmonitionsToDirectives: Plugin<[], Root> = () => {
(node: Blockquote, index?: number, parent?: Parent) => {
const githubAlert = parseGithubAlertBlockquote(node);

if (githubAlert === false) return;
if (githubAlert === null) return;

const directive: ContainerDirective = {
type: "containerDirective",
Expand Down

0 comments on commit ddb6eb9

Please sign in to comment.