Skip to content

Commit

Permalink
Code block fences need to be 3 or more tildes
Browse files Browse the repository at this point in the history
  • Loading branch information
Orc committed Jul 22, 2011
1 parent b757cb8 commit f4f322d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion markdown.c
Expand Up @@ -1223,7 +1223,7 @@ compile(Line *ptr, int toplevel, MMIOT *f)
ptr = codeblock(p);
}
#if WITH_FENCED_CODE
else if ( iscodefence(ptr,2) && (p=fencedcodeblock(&d, &ptr)) )
else if ( iscodefence(ptr,3) && (p=fencedcodeblock(&d, &ptr)) )
/* yay, it's already done */ ;
#endif
else if ( ishr(ptr) ) {
Expand Down

0 comments on commit f4f322d

Please sign in to comment.