Skip to content

Commit

Permalink
enable CMARK_OPT_STRIKETHROUGH_DOUBLE_TILDE
Browse files Browse the repository at this point in the history
  • Loading branch information
yihui committed Oct 11, 2024
1 parent be62b2b commit 9037c21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/wrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ SEXP R_render_markdown(SEXP text, SEXP format, SEXP sourcepos, SEXP hardbreaks,

/* combine options */
int options = CMARK_OPT_DEFAULT;
options += CMARK_OPT_STRIKETHROUGH_DOUBLE_TILDE;
options += Rf_asLogical(sourcepos) * CMARK_OPT_SOURCEPOS;
options += Rf_asLogical(hardbreaks) * CMARK_OPT_HARDBREAKS;
options += Rf_asLogical(smart) * CMARK_OPT_SMART;
Expand Down

0 comments on commit 9037c21

Please sign in to comment.