A workaround use standard syntax and compatible with all other viewers.

I was also looking for a way to add application specific metadata to markdown files while make sure the existing viewers such as vscode and github page will ignore added metadata. Also to use extended markdown syntax is not a good idea because I want to make sure my files can be renderredrendered correctly on different viewers.

So here is my solution: at beginning of markdown file, use following syntax to add metadata:


  [_metadata_:author]:- "daveying"
  [_metadata_:tags]:- "markdown metadata"

This is the standard syntax for referenceslink references, and they will not be renderredrendered while your application can extract these data out.

The - after : is just a placeholder for url, I don't use url as value because you cannot have space in urls, but I have scenarios require array values.

A workaround use standard syntax and compatible with all other viewers.

I was also looking for a way to add application specific metadata to markdown files while make sure the existing viewers such as vscode and github page will ignore added metadata. Also to use extended markdown syntax is not a good idea because I want to make sure my files can be renderred correctly on different viewers.

So here is my solution: at beginning of markdown file, use following syntax to add metadata:


  [_metadata_:author]:- "daveying"
  [_metadata_:tags]:- "markdown metadata"

This is the standard syntax for references, and they will not be renderred while your application can extract these data out.

The - after : is just a placeholder for url, I don't use url as value because you cannot have space in urls, but I have scenarios require array values.

A workaround use standard syntax and compatible with all other viewers.

I was also looking for a way to add application specific metadata to markdown files while make sure the existing viewers such as vscode and github page will ignore added metadata. Also to use extended markdown syntax is not a good idea because I want to make sure my files can be rendered correctly on different viewers.

So here is my solution: at beginning of markdown file, use following syntax to add metadata:


  [_metadata_:author]:- "daveying"
  [_metadata_:tags]:- "markdown metadata"

This is the standard syntax for link references, and they will not be rendered while your application can extract these data out.

The - after : is just a placeholder for url, I don't use url as value because you cannot have space in urls, but I have scenarios require array values.

typo
Source Link
Hans Ginzel
  • 6.6k
  • 3
  • 21
  • 22

A workaround use standard syntax and compatible with all other viewers.

I was also looking for a way to add application specific metadata to markdown files while make sure the existing viewers such as vscode and github page will ignore added metadata. Also to use extended markdown syntax is not a good idea because I want to make sure my files can be renderred correctly on different viewers.

So here is my solution: at beginning of markdown file, use following syntax to add metadata:


  [_metadata_:author]:- "daveying"
  [_metadata_:tags]:- "markdonw"markdown metadata"

This is the standard syntax for references, and they will not be renderred while your application can extract these data out.

The - after : is just a placeholder for url, I don't use url as value because you cannot have space in urls, but I have scenarios require array values.

A workaround use standard syntax and compatible with all other viewers.

I was also looking for a way to add application specific metadata to markdown files while make sure the existing viewers such as vscode and github page will ignore added metadata. Also to use extended markdown syntax is not a good idea because I want to make sure my files can be renderred correctly on different viewers.

So here is my solution: at beginning of markdown file, use following syntax to add metadata:


  [_metadata_:author]:- "daveying"
  [_metadata_:tags]:- "markdonw metadata"

This is the standard syntax for references, and they will not be renderred while your application can extract these data out.

The - after : is just a placeholder for url, I don't use url as value because you cannot have space in urls, but I have scenarios require array values.

A workaround use standard syntax and compatible with all other viewers.

I was also looking for a way to add application specific metadata to markdown files while make sure the existing viewers such as vscode and github page will ignore added metadata. Also to use extended markdown syntax is not a good idea because I want to make sure my files can be renderred correctly on different viewers.

So here is my solution: at beginning of markdown file, use following syntax to add metadata:


  [_metadata_:author]:- "daveying"
  [_metadata_:tags]:- "markdown metadata"

This is the standard syntax for references, and they will not be renderred while your application can extract these data out.

The - after : is just a placeholder for url, I don't use url as value because you cannot have space in urls, but I have scenarios require array values.

Source Link
David.Da
  • 271
  • 3
  • 4

A workaround use standard syntax and compatible with all other viewers.

I was also looking for a way to add application specific metadata to markdown files while make sure the existing viewers such as vscode and github page will ignore added metadata. Also to use extended markdown syntax is not a good idea because I want to make sure my files can be renderred correctly on different viewers.

So here is my solution: at beginning of markdown file, use following syntax to add metadata:


  [_metadata_:author]:- "daveying"
  [_metadata_:tags]:- "markdonw metadata"

This is the standard syntax for references, and they will not be renderred while your application can extract these data out.

The - after : is just a placeholder for url, I don't use url as value because you cannot have space in urls, but I have scenarios require array values.