cmark

My personal build of CMark ✏️

Commit
93d29866644ac0bd597b3491f97ae37d759f9053
Parent
a2011707a61bea9e3f01fd0f02f4dace6cb06a37
Author
John MacFarlane <fiddlosopher@gmail.com>
Date

Spec: Made background color for code spans work more consistently.

Closes #162.

Diffstat

1 file changed, 2 insertions, 2 deletions

Status File Name N° Changes Insertions Deletions
Modified template.html 4 2 2
diff --git a/template.html b/template.html
@@ -36,8 +36,8 @@ pre {
  white-space: -o-pre-wrap;    /* Opera 7 */
  word-wrap: break-word;       /* Internet Explorer 5.5+ */
 }
-code { font-family: monospace; }
-p code { background-color: #D3E1E4; }
+code { font-family: monospace; background-color: #D3E1E4; }
+pre > code { background-color: transparent; }
 div.example > pre { float:left; width: 48%; }
 div.example > pre.markdown { clear:left; }
 pre.tree { font-weight: bold; color: #777; }