added markdown support to portfolio overview
This commit is contained in:
parent
0d68774f05
commit
2079c21a48
2 changed files with 7 additions and 1 deletions
|
@ -74,6 +74,12 @@ export default function parseMarkdown(
|
|||
throw Error(`Date is not defined in file: ${path}`)
|
||||
}
|
||||
|
||||
if (mode === ParseMode.PORTFOLIO) {
|
||||
if (frontMatter.overview) {
|
||||
frontMatter.overview = md.render(frontMatter.overview)
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// work with rendered DOM
|
||||
//
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
name: future projects
|
||||
overview: Projects I'll work on in the future
|
||||
overview: Next big projects ^TM^
|
||||
image: /img/icon.png
|
||||
---
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue