1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

Made easier to add export options

This commit is contained in:
Laurent Cozic
2018-03-12 08:30:10 +00:00
parent c9be287f4a
commit dbe1833f92
5 changed files with 18 additions and 40 deletions

View File

@ -451,7 +451,7 @@ class MdToHtml {
position: relative;
top: .5em;
text-decoration: none;
width: 1.2em;
width: 1.15em;
height: 1.5em;
margin-right: 0.4em;
background-color: ` + style.htmlColor + `;
@ -501,7 +501,7 @@ class MdToHtml {
}
`;
const styleHtml = '<style>' + normalizeCss + "\n" + css + '</style>'; //+ '<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.5.1/katex.min.css">';
const styleHtml = '<style>' + normalizeCss + "\n" + css + '</style>';
const output = styleHtml + renderedBody;