Hey guys,
Little background to my question:
I have a directory with all kind of code snippets - from C++ to CSS. As you can imaging, the usefulness of this code collection does not scale very well - I lost the overview quite a while ago ;-)
So I thought, I might need some meta information, like tags and stuff to filter the files - tiddlywiki for the rescue! Maybe?
So my idea is:
I want to keep the original code files, it is just more convenient that way to reuse them. I want a tiddler for each to my code snippets, for example like this
--------------------------------------------------------------------------------------------------------------------
title: Javascript side of ajax call to django backend
tags: js, ajax, django, jquery, code-snippet
then some commentary text blablabla....
maybe some links to jquery reference on ajax calls blablabla...
and here the actual code in a code block
```
something like
include /home/alex/development/code_snippets/ajax_js_to_django.js
```
--------------------------------------------------------------------------------------------------------------------
So the problem is, I can include external textfiles using the method Tobias Beer pointed out here
http://tobibeer.github.io/tb5/#Embedding%20A%20Text%20File (thanks for this nice trick), but sadly this does not work in a code block, since everything is treated as plain text...
So, perhaps someone has a little trick to get around this?
Edit: fixed wrong link
Thanks