Login
or
register
Overview
Introduction
Features
Credits
License
This Wiki
Status
News
Releases
Change Log
Recent Wiki Edits
User Guide
Installation
Command Line
Using as a Module
Integration
Reporting Bugs
Advanced
Mailing List
Source Code
Test Suite
Extensions
Extensions
Writing Extensions
Available Extensions
Related Projects
Fenced Code Blocks
Anonymous users must enter
captcha
below.
Don't put anything here
Page Parameters
Page Name (for URL)
Page Title
Show Advanced Options
Category
Don't put anything here
Prototype
Page Content
###Summary An extension to Python-Markdown that adds an alternate code block syntax that address a few issues with indented code blocks. ###Get the Code The code is currently available in the Python-Markdown Git [repository][] and may be included in a future release. [repository]: http://gitorious.org/projects/python-markdown/repos/mainline/blobs/master/markdown_extensions/fenced_code.py ####Dependencies * [Python 2.3+](http://python.org) * [Markdown 1.7+](http://www.freewisdom.org/projects/python-markdown/) ###Syntax As this is a new syntax for the markdown community at large, the exact syntax is still slightly in flux. Therefore, while the basic example below should continue to work, see the [source][repository] (with comments and doc tests) for additional specifics. A simple example (taken from [PHP Markdown Extra][]'s docs): [PHP Markdown Extra]: http://michelf.com/projects/php-markdown/extra/#fenced-code-blocks This is a paragraph introducing: ~~~~~~~~~~~~~~~~~~~~~ a one-line code block ~~~~~~~~~~~~~~~~~~~~~
Don't put anything here
Don't put anything here
Don't put anything here
Don't put anything here
About this Edit
Minor Edit
Edit Summary
Powered by
Sputnik
|
XHTML 1.1