joomla-developer-docs icon indicating copy to clipboard operation
joomla-developer-docs copied to clipboard

Gists or a home-brew solution for snippet?

Open eddieajau opened this issue 12 years ago • 0 comments

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.

eddieajau avatar Nov 27 '13 11:11 eddieajau