Tags : Browse Projects

Select a tag to browse associated projects and drill deeper into the tag cloud.

STS Template Engine

Compare

  Analyzed about 13 hours ago

A template engine for Objective-C, implemented as a category of NSString. Key/Value pairs stored in an NSDictionary serve as translations for placeholders in template strings or template files to be expanded. No dependencies. GPL2 licensed.

1.8K lines of code

0 current contributors

over 9 years since last commit

1 users on Open Hub

Inactive
5.0
 
I Use This

Django.js

Compare

  Analyzed about 2 hours ago

JavaScript tools for Django Django.js provides tools to help with JavaScript development with Django: - a JavaScript library doing reverse URL, access some global context variables, integrate jQuery ajax with Django CRSF... - a PhantomJS runner Live TestCase to run JavaScript test suites ... [More] (Jasmine, QUnit...) - a Django template tag library to help with JavaScript integration in templates [Less]

72.8K lines of code

0 current contributors

about 5 years since last commit

1 users on Open Hub

Inactive
5.0
 
I Use This

django-markdown2

Compare

  No analysis available

This is a simple app, which supplies a single template tag for markdown markup. Dependenciesdjango-markdown2 depends on python-markdown2, which can be found at http://code.google.com/p/python-markdown2. SourcesPlease note, that this is not main repository. Active development is in the GIT. ... [More] Download latest sources from http://github.com/svetlyak40wt/django-markdown2: git clone git://github.com/svetlyak40wt/django-markdown2.git Installation and usage Place django_markdown2 somewhere in your PYTHONPATH. Add django_markdown2 to you INSTALLED_APPS. In any template do: {% load md2 %} {{ variable|markdown }} Or specify additional extensions: {% load md2 %} {{ variable|markdown:"safe, code-friendly, code-color" }} [Less]

0 lines of code

0 current contributors

0 since last commit

0 users on Open Hub

Activity Not Available
0.0
 
I Use This
Mostly written in language not available
Licenses: bsd

django-rstify

Compare

  No analysis available

django-rstify - A restructured text filter for django templatesdjango-rstify is a set of template filters to provide easy conversion from restructured text to HTML. Besides this basic functionality this application allows you to highlight sourcecode snippets inside your text using the pygments ... [More] library. Note: Django already provides a simple restructured text filter. If you don't need the extras in this application, I recommend to use the core version. DownloadThe main repository of this app is located on Github. You can easily checkout the latest version using git: git clone git://github.com/bartTC/django-rstify.git or download this app as a .tar.gz file. See Links on the right side for download links. How to use it in templatesTo convert a restructured text from an object to HTML simply apply the rstify filter on it: {% load rstify_tags %} {{ entry.content|rstify }}If you want to convert inline content, use the filter templatetag around: {% load rstify_tags %} {% filter rstify %} This is some *restructured text*. {% endfilter %}How to use it in sourcecodeApplying this filter inside your code is easy: >>> from rstify import rstify >>> >>> print rstify('This is *restructured text*.') This is restructured text. Initial Header LevelBy default the initial heading in your restructured text becomes a in HTML: >>> header = ''' ... ================ ... This is a Header ... ================ ... ''' >>> print rstify(header) This is a Header You can override this by setting the initial_header_level to an integer from 1 to 6: >>> print rstify(header, initial_header_level=3) This is a Header In your template just set this as the first option of the rstify filter: {{ entry.content|rstify:"3" }}Syntax Highlightingdjango-rstify provides syntax highlighting using the pygments library. To highlight parts of your restructured text, simply put it in a sourcecode directive: Here is some text. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Integer porttitor nulla sed dui. Aenean lorem mi, tincidunt et, porttitor nec, condimentum venenatis, felis. Maecenas ornare blandit leo. .. sourcecode:: python def foo(bar): return bar*2 Continue with text. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Integer porttitor nulla sed dui. Aenean lorem mi, tincidunt et, porttitor nec, condimentum venenatis, felis. Maecenas ornare blandit leo.Pygments provides a bunch of highlighters (also called lexer), just replace python with a lexer of your choice. Here is a complete set of available lexers. Read pygments styles how to colorize the output using css. [Less]

0 lines of code

0 current contributors

0 since last commit

0 users on Open Hub

Activity Not Available
0.0
 
I Use This
Mostly written in language not available
Licenses: bsd