repo.or.cz
/
docutils.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
A new role neither based on some old nor with class.
[docutils.git]
/
test
/
functional
/
input
/
data
/
custom_roles.txt
blob
c80b3587f954b5819dd32a8dac631ca27e686abb
1
Custom Roles
2
------------
3
4
* A role based on an existing role.
5
6
.. role:: custom(literal)
7
8
:custom:`one` :custom:`two` :custom:`three`
9
10
* A new role.
11
12
.. role:: customnew
13
14
:customnew:`one two three`
15
16
* A role with class attribute.
17
18
.. role:: customclass
19
:class: special
20
21
:customclass:`interpreted text`
22