From 5d4a64b593c94934a5c25cf864bafd570972e724 Mon Sep 17 00:00:00 2001 From: grubert Date: Sun, 2 Apr 2006 14:21:55 +0000 Subject: [PATCH] Add a custom role with class. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4491 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 --- test/functional/expected/standalone_rst_html4css1.html | 7 +++++++ test/functional/input/data/custom_roles.txt | 14 ++++++++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/test/functional/expected/standalone_rst_html4css1.html b/test/functional/expected/standalone_rst_html4css1.html index 88ff733bd..d5cbefa4a 100644 --- a/test/functional/expected/standalone_rst_html4css1.html +++ b/test/functional/expected/standalone_rst_html4css1.html @@ -965,7 +965,14 @@ crunchy, now would it?

2.23   Custom Roles

+
diff --git a/test/functional/input/data/custom_roles.txt b/test/functional/input/data/custom_roles.txt index 0f209d61e..3a94098fc 100644 --- a/test/functional/input/data/custom_roles.txt +++ b/test/functional/input/data/custom_roles.txt @@ -1,6 +1,16 @@ Custom Roles ------------ -.. role:: custom(literal) +* A role based on an existing role. -:custom:`one` :custom:`two` :custom:`three` + .. role:: custom(literal) + + :custom:`one` :custom:`two` :custom:`three` + +* A role with class attribute. + + .. role:: customclass + :class: special + + :customclass:`interpreted text` + -- 2.11.4.GIT