s3ththompson / md-directory

📂 Convert a directory of Markdown files to HTML

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to specify Excerpt

dengf opened this issue · comments

Hi, thanks for the great tool. I have a question on how to specify the excerpt. The result seems always to give an empty excerpt. Is there a way to specify excerpt rule say, number of words?

Thanks

Thanks, silly me. I missed the frontmatter opts. I overload with function to set excerpt: true for gray-matter.