Vivify-Ideas / vue-simple-markdown

A Simple and Highspeed Markdown Parser for Vue
MIT License
83 stars 17 forks source link

Metadata Rendering #43

Open aalicki opened 3 years ago

aalicki commented 3 years ago

It appears that the handling / rendering of Markdown Metadata isn't working as expected.

Vue Version: 2.6.10 Simple Markdown Version: 1.1.4

Example:

---
layout: post
published-on: 1 January 2021
title: Blogging Like a Boss
---

# This is an example

I wouldn't expect this to be rendered in the component when calling:

<vue-simple-markdown :source="post"></vue-simple-markdown>

However, I'm seeing the Metadata rendered with an <hr> in place of the --- and the content in between displayed.