joomla-developer-docs
joomla-developer-docs copied to clipboard
Gists or a home-brew solution for snippet?
I'm wondering what to do about richer code snippets such as we might add to a recipe section.
We could use gists. They are nicely formatted but since they are offsite we don't really have any control over them.
Alternatively we could store source files in the repo and write our own gist-like directive in Angular and then apply some styling in the same way that the gist does from Github.
I think I like the second way better, but it's obviously more work.
I will put code in the markdown files for now but I think long term we'd want to allow developers to be able to download the source and just start using it.