gulp-markdown-to-json icon indicating copy to clipboard operation
gulp-markdown-to-json copied to clipboard

Option to disable title detection

Open innovate-invent opened this issue 5 years ago • 0 comments

There needs to be a way to disable setting the title frontmatter automatically based on the header. I have the following:

---
title:
slug: foo
---
# Not actually the title
Lorem ipsum

My code optionally renders a title if it is present. Setting it to "" or omitting the title frontmatter disables the title rendering. Currently there is no way to not have "Not actually the title" rendered.

innovate-invent avatar Oct 17 '19 21:10 innovate-invent