gatsby-theme-andy icon indicating copy to clipboard operation
gatsby-theme-andy copied to clipboard

Shadow BrainNote.js to remove file title as note header

Open awalvie opened this issue 3 years ago • 1 comments

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.

awalvie avatar Apr 11 '21 12:04 awalvie

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

technolaaji avatar May 25 '22 10:05 technolaaji