Closed Faeranne closed 8 years ago
Whoa, awesome! I'll look at this soon.
This hosts TESTING.md, but Firefox prompts me to download the file or choose an application to open it with. Can we render the Markdown like we do with README.md?
We currently use Gulp to convert the Markdown to HTML, but I'm not sure if that will scale now that we need to host multiple Markdown files. Make we can use the marked
library together with Nunjucks to render the Markdown-powered pages?
Sounds like an option. Gulp can be set up to scale for as many files as we want, so long as we aren't trying to add new files on the live server.
On Fri, Dec 18, 2015, 16:20 John Karahalis notifications@github.com wrote:
This hosts TESTING.md, but Firefox prompts me to download the file or choose an application to open it with. Can we render the Markdown like we do with README.md?
We currently use Gulp to convert the Markdown to HTML, but I'm not sure if that will scale now that we need to host multiple Markdown files. Make we can use the marked library together with Nunjucks to render the Markdown-powered pages?
— Reply to this email directly or view it on GitHub https://github.com/mdn/discord/pull/164#issuecomment-165910265.
Q: Why is this email five sentences or less? A: http://five.sentenc.es
Also, gulp would be more efficient with more users.
On Fri, Dec 18, 2015, 16:49 Blixa Morgan blixa@projectmakeit.com wrote:
Sounds like an option. Gulp can be set up to scale for as many files as we want, so long as we aren't trying to add new files on the live server.
On Fri, Dec 18, 2015, 16:20 John Karahalis notifications@github.com wrote:
This hosts TESTING.md, but Firefox prompts me to download the file or choose an application to open it with. Can we render the Markdown like we do with README.md?
We currently use Gulp to convert the Markdown to HTML, but I'm not sure if that will scale now that we need to host multiple Markdown files. Make we can use the marked library together with Nunjucks to render the Markdown-powered pages?
— Reply to this email directly or view it on GitHub https://github.com/mdn/discord/pull/164#issuecomment-165910265.
Q: Why is this email five sentences or less? A: http://five.sentenc.es
Q: Why is this email five sentences or less? A: http://five.sentenc.es
Yeah, Gulp is an option too. Whatever makes it easiest to work with multiple Markdown files.
See https://github.com/mdn/discord/issues/159#issuecomment-168236893 ... I think we should close this without fixing ...
Closing this without fixing. We shouldn't serve the docs/
files via the website. We should update the home page with a link to GitHub for docs.
Using express.static should pass requests to
/docs
to the local/docs
folder.