When you create a Markdown document with template, the template is defined in the YAML of the file. To amend the elements of the template, you will need to edit the YAML parameters.

General parameters
KeyTypePossible Values
documentClassstringarticle, book, exam, report, letter, beamer
baseDocumentClassstringarticle, book, exam, report, letter, beamer
documentClassArglatexString-
titlestring-
authorstring-
datestring\today
makeTitlebooltrue, false
tableOfContentsbooltrue, false
headingUnnumberedbooltrue, false
fontPackageNamestringSee catalogue.
fontPackageArgstringfontPackageName must be defined. See catalogue.
familyDefaultstringsfdefault, ttdefault, rmdefault
setMainFontstringSee catalogue.
geometrylatexString-
multiColsnumber3. For 2 columns, you may insert "twocolumn" to documentClassArg instead.
lineSpreadnumber-
noPageNobooltrue, false
noIndentbooltrue, false
parIndentlatexString-
parSkipbooltrue, false
codeBlockRenderAsstringThis is a global parameter. To use local parameter, refer to the section here. lstlisting, verbatim, minted, abc , chordpro, mermaid
codeBlockLanguagestringThis is a global parameter. To use local parameter, refer to the section here. codeBlockRenderAs must be defined as lstlisting or minted.
codeBlockLineNumbersstringThis is a global parameter. To use local parameter, refer to the section here. codeBlockRenderAs must be defined as lstlisting or minted. left, right, none
watermarkstring-


To have more control over specific documentClass, here are the special parameters:

documentClass: letter
KeyTypePossible Values
openinglatexString-
closinglatexString-
signaturelatexString-
pslatexString-
encllatexString-
cclatexString-
toAddresslatexString-
fromAddresslatexString-
bannerstringSee Predefined colors
bannerUrlstringbanner must be defined. URL of image
logostringURL of image
letterheadstring-


documentClass: beamer
KeyTypePossible Values
useThemestringSee catalogue.
useOuterThemestringSee catalogue.
useInnerThemestringSee catalogue.
useColorThemestringSee catalogue.
subtitlelatexString-
institutelatexString-
setBeamerTemplate_NavigationSymbolsbooltrue, false


documentClass: book
KeyTypePossible Values
coverstringURL of image
coverTextColorstringSee Predefined colors
lettrinestring-
lettrineFontHooklatexString-
lettrineTextFontlatexString-
editionstring-
publisherstring-
isbnstring-
licensestring-


documentClass: memoir
KeyTypePossible Values
coverstringURL of image
coverTextColorstringSee Predefined colors
lettrinestring-
lettrineFontHooklatexString-
lettrineTextFontlatexString-
editionstring-


documentClass: article
KeyTypePossible Values
coverstringURL of image
coverTextColorstringSee Predefined colors


documentClass: report
No special parameters.

documentClass: exam
No special parameters.
Was this article helpful?
Cancel
Thank you!