Skip to content

Latest commit

 

History

History
174 lines (119 loc) · 3.28 KB

File metadata and controls

174 lines (119 loc) · 3.28 KB

test file

This is a minimal test file for verifying the notepad++ syntax highlighting when using the reStructuredTxt user defined language.

The content is from http://docutils.sourceforge.net/docs/user/rst/quickref.html to verify that commenly used syntax is highlightede reasonably.

Inline Markup

emphasis

strong emphasis

Bullet Lists


Bullet lists:

  • This is item 1
  • This is item 2
  • Bullets are "-", "*" or "+". Continuing text must be aligned after the bullet and whitespace.
  • bullet
  • different bullet.

Note that a blank line is required before the first item and after the last, but is optional between items.

Enumerated Lists

Enumerated lists:

  1. This is the first item
  2. This is the second item
  3. Enumerators are arabic numbers, single letters, or roman numerals
  4. List items should be sequentially numbered, but need not start at 1 (although not all formatters will honour the first index).
  5. This item is auto-enumerated

Field Lists

Authors:

Tony J. (Tibs) Ibbs, David Goodger

(and sundry other good-natured folks)

Version:

1.0 of 2001/08/08

Dedication:

To my father.

Line Blocks

Line blocks are useful for addresses,
verse, and adornment-free lists.

Each new line begins with a
vertical bar ("|").
Line breaks and initial indents
are preserved.
Continuation lines are wrapped portions of long lines; they begin with spaces in place of vertical bars.

Tables

Grid table:

Header 1 Header 2 Header 3
body row 1 column 2 column 3
body row 2 Cells may span columns.
body row 3 Cells may span rows.
  • Cells
  • contain
  • blocks.
body row 4

Simple table:

Inputs Output
A B A or B
False False False
True False True
False True True
True True True

Transitions

A transition marker is a horizontal line

of 4 or more repeated punctuation characters.


A transition should not begin or end a section or document, nor should two transitions be immediately adjacent.

Explicit Markup

Hyperlink Targets

External hyperlinks, like Python.

External hyperlinks, like Python.

Internal crossreferences, like example.

This is an example crossreference target.

Python is my favourite programming language.

Directives

For instance:

images/ball1.gif

def my_function():
    "just a test"
    print 8/2

Today's date is 2026-03-19.

This document was generated on 2026-03-19 at 09:31.

end of file...