HEAD
To paraphrase Prof Alex Slocum12, if you are a serious researcher in this century, you should have a website; and if you don’t, don’t expect to talk.
I believe that he is absolutely true! I use markdown extensively to write everything from emails to technical documents and manuscripts.
These are shortcuts/ tricks/ resources that I’ve looked up over time. Just posting it here for future reference- yours and mine.
<p class=text-center style="font-family: Georgia, serif; font-size:11pt; font-weight:bold">
This is how you do it!
</p>
gives
This is how you do it!
General styling tweaks are discussed in Section: Text formatting and Styles
As you can see, this is not the most elegant solution for inline changes in text formatting. If it were so, I would have converted each of the above list entries to the fonts they represent.
toc
is yes
and not true
<script>
$(document).ready(function() {
$items = $('div#TOC li');
$items.each(function(idx) {
num_ul = $(this).parentsUntil('#TOC').length;
$(this).css({'text-indent': num_ul * 10, 'padding-left': 0});
});
});
</script>
number_sections: true
in the header for numbering. Levels are intuitively expressed using decimal dots and are equivalent to the number of #
signs prefixing the heading. But to display more levels than the default 3 (H3) levels, use toc_depth: 5
in the header.<div class=text-justify>
body
</div>
<style type="text/css">
body{ /* Normal */
font-size: 12px;
}
td { /* Table */
font-size: 8px;
}
h1.title {
font-size: 38px;
color: DarkRed;
}
h1 { /* Header 1 */
font-size: 28px;
color: DarkBlue;
}
h2 { /* Header 2 */
font-size: 22px;
color: DarkBlue;
}
h3 { /* Header 3 */
font-size: 18px;
font-family: "Times New Roman", Times, serif;
color: DarkBlue;
}
</style>
The list of themes available to call from the header via theme
is available at Bootswatch3
I have used an implicit link in section To change fonts inline in Markdown.
The syntax is to use the correct heading you want to link to within square brackets:
I have used an implicit link in section [To change fonts inline in Markdown].
The syntax is as follows. Scroll down to see how they appear.
Footnote 1 link[^first].
Footnote 2 link[^second].
Inline footnote^[Text of inline footnote] definition.
Duplicated footnote reference[^second].
[^first]: Footnote **can have markup**
and multiple paragraphs.
[^second]: Footnote text.
The front matter specifics:
output:
md_document:
variant: gfm
toc: yes
toc_depth: 5
number_sections: true
To paraphrase Prof Alex Slocum12, if you are a serious researcher in this century, you should have a website; and if you don’t, don’t expect to talk.
I believe that he is absolutely true! I use markdown extensively to write everything from emails to technical documents and manuscripts.
These are shortcuts/ tricks/ resources that I’ve looked up over time. Just posting it here for future reference- yours and mine.
<p class=text-center style="font-family: Georgia, serif; font-size:11pt; font-weight:bold">
This is how you do it!
</p>
gives
This is how you do it!
General styling tweaks are discussed in Section: Text formatting and Styles
As you can see, this is not the most elegant solution for inline changes in text formatting. If it were so, I would have converted each of the above list entries to the fonts they represent.
toc
is yes
and not true
<script>
$(document).ready(function() {
$items = $('div#TOC li');
$items.each(function(idx) {
num_ul = $(this).parentsUntil('#TOC').length;
$(this).css({'text-indent': num_ul * 10, 'padding-left': 0});
});
});
</script>
number_sections: true
in the header for numbering. Levels are intuitively expressed using decimal dots and are equivalent to the number of #
signs prefixing the heading. But to display more levels than the default 3 (H3) levels, use toc_depth: 5
in the header.<div class=text-justify>
body
</div>
<style type="text/css">
body{ /* Normal */
font-size: 12px;
}
td { /* Table */
font-size: 8px;
}
h1.title {
font-size: 38px;
color: DarkRed;
}
h1 { /* Header 1 */
font-size: 28px;
color: DarkBlue;
}
h2 { /* Header 2 */
font-size: 22px;
color: DarkBlue;
}
h3 { /* Header 3 */
font-size: 18px;
font-family: "Times New Roman", Times, serif;
color: DarkBlue;
}
</style>
The list of themes available to call from the header via theme
is available at Bootswatch3
I have used an implicit link in section To change fonts inline in Markdown.
The syntax is to use the correct heading you want to link to within square brackets:
I have used an implicit link in section [To change fonts inline in Markdown].
The syntax is as follows. Scroll down to see how they appear.
Footnote 1 link[^first].
Footnote 2 link[^second].
Inline footnote^[Text of inline footnote] definition.
Duplicated footnote reference[^second].
[^first]: Footnote **can have markup**
and multiple paragraphs.
[^second]: Footnote text.
The front matter specifics:
output:
md_document:
variant: gfm
toc: yes
toc_depth: 5
number_sections: true