5 ms·
Well, that was easy. Went ahead and took our long-standing WIP wiki which was already markdown and threw it in here. We've been meaning to do something like thi
by imjared 12y ago
Well, that was easy. Went ahead and took our long-standing WIP wiki which was already markdown and threw it in here. We've been meaning to do something like this for a while, you just did it.
Agreed with the point about security. We have a public part we want to make into a general KB but also a private part for internal. If anyone comes up with something, I'd love to see it.
Lastly, because what comment wouldn't be complete without some sort of "criticism" on someone else's awesome, hard work, what prompted the decision to use the /* */ commenting for page-specific config? In my experience (maybe this is just because I've used jekyll too much) it seems that Yaml frontmatter is pretty typical for .md file config.
- mikegioia 12y agoFor security, you could move this app behind an nginx proxy and handle auth (to say /admin/) via client SSL certificates. We do this for a number of internal applications that are exposed on the public web.
- gilbitron 12y agoThanks. To be honest I just used a /* */ comment block because it was simple, but I'll have a look at implementing YAML.
- NaNaN 12y agoHow about gray-matter[1]? It supports YAML, TOML, JSON and Coffee. It can also auto-detect the type of front-matter. [1] https://github.com/assemble/gray-matter#lang https://github.com/assemble/gray-matter#lang