markdown support for raw html

This commit is contained in:
Sharwin Patil 2025-01-05 16:56:19 -08:00
parent b3001145fd
commit 897275d583
4 changed files with 72 additions and 94 deletions

View file

@ -2,7 +2,6 @@ baseURL: "https://sharwin24.github.io/toha/"
languageCode: "en-us"
title: "Sharwin's Portfolio"
outputs:
home:
- "HTML"
@ -41,6 +40,68 @@ module:
target: static/fonts
markup:
defaultMarkdownHandler: goldmark
goldmark:
duplicateResourceFiles: false
extensions:
cjk:
eastAsianLineBreaks: false
eastAsianLineBreaksStyle: simple
enable: false
escapedSpace: false
definitionList: true
extras:
delete:
enable: false
insert:
enable: false
mark:
enable: false
subscript:
enable: false
superscript:
enable: false
footnote: true
linkify: true
linkifyProtocol: https
passthrough:
delimiters:
block: []
inline: []
enable: false
strikethrough: true
table: true
taskList: true
typographer:
apostrophe: '’'
disable: false
ellipsis: '…'
emDash: '—'
enDash: '–'
leftAngleQuote: '«'
leftDoubleQuote: '“'
leftSingleQuote: '‘'
rightAngleQuote: '»'
rightDoubleQuote: '”'
rightSingleQuote: '’'
parser:
attribute:
block: false
title: true
autoHeadingID: true
autoHeadingIDType: github
wrapStandAloneImageWithinParagraph: true
renderHooks:
image:
enableDefault: false
link:
enableDefault: false
renderer:
hardWraps: false
unsafe: true
xhtml: false
# Site parameters
params:
# Background image of the landing page