gatsby-theme-andy
gatsby-theme-andy copied to clipboard
Shadow BrainNote.js to remove file title as note header
Hey, I use this repository to host markdown files written in Obsidian.md. Whenever a new note is rendered the note title is defaulted to be the file title. This seems to be the portion of the code that is doing the rendering. I'm not too experienced with JS and shadowing so I was hoping someone could help me with what the right code would be to remove this.
when you are creating a note, add in the frontmatter at the top of your markdown file
---
title: 'My Personal Codex'
---
it will change the name of the title from the file name to the title in the frontmatter