atom / language-yaml

YAML package for Atom
Other
24 stars 39 forks source link

Feature Request: Render Strings in Quotes as markdown #49

Closed fusion809 closed 8 years ago

fusion809 commented 8 years ago

Hi,

I do not know about other people but I frequently use YAML on my Jekyll site for containing data (like my site's description) that is in markdown format. For example here are a few lines from my _config.yml file:

description:
  "Where Brenton stores his thoughts and news relating to technology."

extended_description:
  "Welcome to *The Hornery*, where I, Brenton Horne, store my thoughts, guides, ramblings and news relating to **free and open-source software** (**FOSS**). If you are unfamiliar with the terminology used in the FOSS world, or otherwise find some terms in this site that confuse you, I suggest you see the [Glossary](/glossary/) of this website. Other pieces of general information that you might be interested in can be found in the site's information pages menu. If you have improvement suggestions (which I welcome!) please see the [Corrections page](/contributing/). If you like this site please [star](https://help.github.com/articles/about-stars/) its [GitHub repository](https://github.com/fusion809/fusion809.github.io).

  This website is mostly powered by the static site generator (SSG), [Jekyll](http://jekyllrb.com/), if you would like to create your own Jekyll-powered website and preview it on a Linux platform, I have written a guide on how to do this [here](/how-to-create-your-own-jekyll-site-with-github-pages/). The [/hexo-site](/hexo-site) subfolder of *The Hornery* is powered by the SSG, [Hexo](https://hexo.io), while the [/hubpress.io](/hubpress.io) subfolder is powered by [HubPress](http://hubpress.io/), both subfolders are essentially just for testing purposes and not really ready for readers.

  If you want to read about my other work on GitHub (namely my [repositories](https://github.com/fusion809?tab=repositories)), please see the [projects page](/projects)."

now the extended_description field is clearly in markdown format. I was hoping that this extension might pass quoted content like this to the language-gfm package for markdown rendering. Is this possible?

Thanks for your time, Brenton

winstliu commented 8 years ago

You can fork language-yaml to add it yourself, but as Markdown is not part of the YAML spec this can't be reasonably supported.