mirror of
https://github.com/veggiemonk/awesome-docker.git
synced 2025-01-03 03:31:18 -05:00
Replace showdown options
This commit is contained in:
parent
8cf8f8b10a
commit
89a3dcee07
22
build.js
22
build.js
@ -26,26 +26,8 @@ const indexTemplate = `${WEBSITE_FOLDER}/index.tmpl.html`;
|
|||||||
const indexDestination = `${WEBSITE_FOLDER}/index.html`;
|
const indexDestination = `${WEBSITE_FOLDER}/index.html`;
|
||||||
|
|
||||||
async function processIndex() {
|
async function processIndex() {
|
||||||
const converter = new showdown.Converter({
|
const converter = new showdown.Converter();
|
||||||
omitExtraWLInCodeBlocks: true,
|
converter.setFlavor('github');
|
||||||
simplifiedAutoLink: true,
|
|
||||||
excludeTrailingPunctuationFromURLs: true,
|
|
||||||
literalMidWordUnderscores: true,
|
|
||||||
strikethrough: true,
|
|
||||||
tables: true,
|
|
||||||
tablesHeaderId: true,
|
|
||||||
ghCodeBlocks: true,
|
|
||||||
tasklists: true,
|
|
||||||
disableForced4SpacesIndentedSublists: true,
|
|
||||||
simpleLineBreaks: true,
|
|
||||||
requireSpaceBeforeHeadingText: true,
|
|
||||||
ghCompatibleHeaderId: true,
|
|
||||||
ghMentions: true,
|
|
||||||
backslashEscapesHTMLTags: true,
|
|
||||||
emoji: true,
|
|
||||||
splitAdjacentBlockquotes: true,
|
|
||||||
});
|
|
||||||
// converter.setFlavor('github');
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
LOG.debug('Loading files...', { indexTemplate, README });
|
LOG.debug('Loading files...', { indexTemplate, README });
|
||||||
|
Loading…
Reference in New Issue
Block a user