empress / ember-cli-showdown

Ember component to render markdown into HTML.
https://empress.github.io/ember-cli-showdown/
MIT License
101 stars 35 forks source link

Ability to inline MD files #54

Open jasonmit opened 7 years ago

jasonmit commented 7 years ago

{{markdown-to-html path="README.md"}}

var app = new EmberAddon({
  showdownPaths: ['public/markdown']
});

Reference: https://github.com/ef4/ember-code-snippet#usage

olivier-w commented 6 years ago

@jasonmit Any chance you can add some more documentation around this feature? It's exactly what I want, but it currently only renders a blank template with no errors anywhere.

{{markdown-to-html ... }} works properly, but I wanted to use our existing README.md file.

jasonmit commented 6 years ago

It does not exist, I closed it because it's unlikely I'll have the bandwidth to implement. I'll reopen for exposure though.

sheriffderek commented 5 years ago

I don't know enough about this to help, but I was also trying to get local .md files to work. @alexspeller gave me a talking to once about how it wasn't possible - but the whole thing went over my head.

MelSumner commented 3 years ago

+1 to this issue. I am also trying to use the README file in the dummy app for my Ember addon. I wonder if @mansona has dealt with this idea in Empress?