meteor-markdown-templating icon indicating copy to clipboard operation
meteor-markdown-templating copied to clipboard

Unwrapped template handling

Open protometa opened this issue 10 years ago • 7 comments
trafficstars

Hey awesome package. I'd like to add the ability to handle markdown files without template tags, using the file name as the template name on .tpl.md files like mquandalle:jade does.

protometa avatar Sep 20 '15 00:09 protometa

Go for it!

stubailo avatar Sep 20 '15 02:09 stubailo

hi @protometa - did you ever get to implement the feature?

I'm using meteor with angularjs so basically what I need is to translate a simple markdown file to a simple html file, without the additional <head> and <body> tags. Is there maybe any other package out there, which could do that?

pgrm avatar Nov 17 '15 11:11 pgrm

@pgrm sorry, I didn't get around to it. This package uses the old plugin API which I had trouble finding documentation on.

protometa avatar Nov 20 '15 23:11 protometa

@protometa no problem. Maybe I'll do it as an exercise on how to create a meteor package later next month. I'll add the link here if I ever get to making such a package.

pgrm avatar Nov 21 '15 00:11 pgrm

@stubailo great package. Seems to work fine.

I'm new to Meteor and so have not mastered the nuances of packages or I'd be happy to tackle the changes myself and I know you have published this as-is. However I'd like to vote for the most recent packaging style and 0 template code in the markdown so (as I read it) more like the .tpl.md approch.

900 downloads on Atmosphere shows a pretty healthy interest in this already, a few updates would only add to this. I'd be happy to contribute a few more examples since I'll be using it to publicly update an OSS docs site from github .md docs.

In any case, thanks.

pferrel avatar Apr 19 '16 14:04 pferrel

I'd be happy to accept a PR to modify the package to avoid the template tags!

stubailo avatar Apr 19 '16 15:04 stubailo

I'm a noob to Meteor but if you can give me a pointer or two I can give it a try.

Regarding the "new" package format. No clue what this is about. This should be easy if you can advise.

pferrel avatar Apr 20 '16 14:04 pferrel