Archive for the ‘markup’ Tag
BBCode markup in Django
Why BBCode?
I’m a big fan of reStructuredText but faced the problem of being forced to use two versions of one text field: one without any markup for RSS, one with markup for rendering HTML. I found no easy solution how to remove reST markup, so I decided to change markup for this project.
I chose BBCode because it’s pretty easy to understand for ordinary users and it’s easy to remove since BBCode uses a syntax similar to HTML, just with squared brackets.
Example tags: [b][i][u][s][color][size][link][img][list][center][quote]
Comments (4)