1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-09-08 22:06:05 +00:00

First pass at integrating a Markdown parser

Internal links don't work yet.

@natecain - have I included the node module in the right way?
This commit is contained in:
Jeremy Ruston
2013-11-01 16:06:08 +00:00
parent 2bc06fd255
commit 36fa41e19a
36 changed files with 5671 additions and 14 deletions

View File

@@ -80,19 +80,6 @@ h1, h2, h3, h4, h5, h6 {
font-weight: 300;
}
code, pre {
padding: 0 3px 2px;
<<border-radius 3px>>
}
code {
padding: 1px 2px;
color: #d14;
background-color: #f7f7f9;
border: 1px solid #e1e1e8;
white-space: pre-wrap;
}
pre {
display: block;
padding: 14px;
@@ -103,6 +90,27 @@ pre {
white-space: pre-wrap;
background-color: #f5f5f5;
border: 1px solid #ccc;
padding: 0 3px 2px;
<<border-radius 3px>>
}
code {
color: #d14;
background-color: #f7f7f9;
border: 1px solid #e1e1e8;
white-space: pre-wrap;
padding: 0 3px 2px;
<<border-radius 3px>>
}
/*
Markdown likes putting code elements inside pre elements
*/
pre > code {
padding: 0;
border: none;
background-color: inherit;
color: inherit;
}
table {