summaryrefslogtreecommitdiff
path: root/doc/markup/code.rst
Commit message (Collapse)AuthorAgeFilesLines
* doc: Extend "directives" doc, part 2Stephen Finucane2018-03-271-270/+0
| | | | | | | Continue building up this combined doc by adding the contents of the former 'code' document. There are no changes to the content. Signed-off-by: Stephen Finucane <stephen@that.guru>
* doc: Rework "markup" documentsStephen Finucane2018-03-271-34/+34
| | | | | | | | | | | | These are going to form the basis of a future 'directive' document, so we do some cleanup before this happens. There are a number of cleanup items. - Some paragraphs are reworded or clarified - Semantic markup is added where possible - Everything is wrapped to ~80 characters Signed-off-by: Stephen Finucane <stephen@that.guru>
* Update docs (refs: #2307)Takeshi KOMIYA2018-03-191-1/+1
|
* Merge branch 'stable'jfbu2017-12-111-2/+4
|\
| * Add a note for future maintenance by TeX hackersjfbu2017-12-101-1/+0
| |
| * Update docs relative to emphasize-linesjfbu2017-12-101-4/+4
| |
| * Support ``:emphasize-lines:`` in PDF output (closes #1238)jfbu2017-12-101-0/+3
| |
* | #2307 add `::` to show markup sample, not evaluate itTimotheus Kampik2017-07-021-1/+1
|/
* Update CHANGES and docs for PR#3413jfbu2017-02-171-5/+7
|
* Merge branch 'master' into literalincludelinesJean-François B2017-02-131-1/+1
|\
| * Fix typosJakub Wilk2017-02-071-1/+1
| |
* | Remove unneeded docsjfbu2017-02-101-5/+0
| |
* | If ``:start-after:`` is used, make ``:lines:`` relative (close: #3412)jfbu2017-02-101-5/+16
| |
* | Improve docs about ``:lines:̀`` vs ̀``:start-after:`` (refs #3412)jfbu2017-02-101-1/+3
|/
* Fix grammar and wordingJean Jordaan2016-10-021-1/+1
|
* Clear up Pygments is mandatoryRobert Lehmann2016-04-051-3/+3
| | | While Pygments is not required for other builders, it is *always* used in the HTML builder.
* refs #1742: `:name:` option is provided for `toctree`, `code-block` and ↵shimizukawa2015-03-081-7/+10
| | | | `literalinclude` dirctives.
* added documentation for lineno-match optionJeppe Pihl2014-10-041-2/+7
|
* Use "any" role in changelog.Georg Brandl2014-09-191-7/+15
|
* Update CHANGES and documentation for PR#266.Takayuki Shimizukawa2014-08-241-3/+3
|
* add test and document about diff params in literalinclude.shirou2014-08-121-0/+12
|
* * for pull request #258: update CHANGES, add tests, add a document and ↵Takayuki Shimizukawa2014-08-101-0/+16
| | | | refactoring.
* rewrapping paragraphs when over 80 characters wideEricFromCanada2014-06-181-6/+6
|
* merge with stableGeorg Brandl2014-01-221-1/+2
|\
| * Closes #1356: link to page with valid Pygments lexer aliasGeorg Brandl2014-01-221-1/+2
| |
* | Add :filename: also for literalinclude. Changelog entry.Georg Brandl2014-01-191-0/+19
| |
* | merge stable into defaultGeorg Brandl2014-01-111-2/+2
|\ \ | |/
| * Closes #845: In code blocks, when the selected lexer fails, display line ↵Georg Brandl2014-01-111-2/+2
| | | | | | | | numbers nevertheless if configured.
* | Closes #668: Allow line numbering of ``code-block`` and ``literalinclude`` ↵Georg Brandl2014-01-111-4/+16
|/ | | | | | directives #to start at an arbitrary line number, with a new ``lineno-start`` option.
* Add changelog entry for emphasize-lines and some coding style fixes.Georg Brandl2011-09-221-0/+3
|
* add :emphasize-lines: option to source-code and literal-includeMark Lodato2011-07-061-2/+16
| | | | | | | | Add a new option, :emphasize-lines:, to the source-code and literal-include directives. The format is the same as the :lines: option for literal-include. The resulting list of lines is passed to the Pygments formatter as 'hl_lines', which is only honored by the HTML formatter.
* Use the new rst domain in the sphinx docs.Georg Brandl2010-04-171-5/+5
|
* Added ``tab-width`` option to ``literalinclude`` directive.Georg Brandl2010-01-081-1/+4
|
* Added the ``prepend`` and ``append`` options to theGeorg Brandl2009-06-041-0/+6
| | | | ``literalinclude`` directive.
* Paths to literal include files and download files can now be absolute too.Georg Brandl2009-02-241-2/+5
|
* merge with 0.5Georg Brandl2009-02-231-1/+4
|\
| * Note that Python code in code blocks is parsed.Georg Brandl2009-02-231-1/+4
| |
* | Fix more line length and trailing whitespace.Georg Brandl2009-01-101-1/+1
| |
* | Document new literalinclude options.Georg Brandl2009-01-021-1/+16
| |
* | Rename "object" to "pyobject" and document it.Georg Brandl2008-12-301-0/+12
|/
* UTF-8 isn't mandatory anymore.Georg Brandl2008-10-161-2/+3
|
* Commit missing doc change.Georg Brandl2008-09-231-0/+2
|
* Add default highlight language selection support.Georg Brandl2008-09-091-2/+6
| | | | Add support for recognizing Python 3 console output.
* Merged revisions ↵Georg Brandl2008-08-041-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 65283,65303,65316-65317,65372-65375,65377,65380,65483-65485,65494 via svnmerge from svn+ssh://pythondev@svn.python.org/doctools/branches/0.4.x ........ r65283 | georg.brandl | 2008-07-29 10:07:26 +0000 (Tue, 29 Jul 2008) | 2 lines Update ez_setup.py. ........ r65303 | benjamin.peterson | 2008-07-30 12:35:34 +0000 (Wed, 30 Jul 2008) | 1 line add a with_testapp decorator for test functions that passes the TestApp instance in a cleans up after it ........ r65316 | benjamin.peterson | 2008-07-30 23:12:07 +0000 (Wed, 30 Jul 2008) | 1 line make the app for test_markup global to the module ........ r65317 | benjamin.peterson | 2008-07-30 23:31:29 +0000 (Wed, 30 Jul 2008) | 1 line make TestApp.cleanup more aggressive ........ r65372 | georg.brandl | 2008-08-01 19:11:22 +0000 (Fri, 01 Aug 2008) | 2 lines Add more tests, fix a few bugs in image handling. ........ r65373 | georg.brandl | 2008-08-01 19:28:33 +0000 (Fri, 01 Aug 2008) | 2 lines Fix oversight. ........ r65374 | benjamin.peterson | 2008-08-01 19:36:32 +0000 (Fri, 01 Aug 2008) | 1 line fix one broken test ........ r65375 | georg.brandl | 2008-08-01 19:41:11 +0000 (Fri, 01 Aug 2008) | 2 lines Fix the handling of non-ASCII input in quickstart. ........ r65377 | georg.brandl | 2008-08-01 19:48:24 +0000 (Fri, 01 Aug 2008) | 2 lines Allow REs in markup checks. ........ r65380 | georg.brandl | 2008-08-01 20:31:18 +0000 (Fri, 01 Aug 2008) | 2 lines Don't rely on mtimes being different for changed files. ........ r65483 | georg.brandl | 2008-08-04 09:01:40 +0000 (Mon, 04 Aug 2008) | 4 lines Add an "encoding" option to literalinclude. Add tests for include directives. ........ r65484 | georg.brandl | 2008-08-04 09:11:17 +0000 (Mon, 04 Aug 2008) | 2 lines Add changelog entry. ........ r65485 | georg.brandl | 2008-08-04 09:21:58 +0000 (Mon, 04 Aug 2008) | 2 lines Fix markup. ........ r65494 | georg.brandl | 2008-08-04 16:34:59 +0000 (Mon, 04 Aug 2008) | 2 lines Correctly use HTML file suffix in templates. ........
* Update documentation, add more content.Georg Brandl2008-03-161-6/+19
|
* Expand the markup chapter a bit.Georg Brandl2008-03-151-0/+94