[TYPO3-doc] Adding a :file: text role?

François Suter fsu-lists at cobweb.ch
Sat Sep 29 22:18:10 CEST 2012


Hi,

> Absolutely. I'll add it. The good thing is that if we make it inherit
> from :code:, it will already have some special look applied to it after
> rendering. We can always differentiate the "file" class later.

Already exists actually:

http://sphinx.pocoo.org/markup/inline.html#role-file

:-)

It even has the feature that you can put some text inside a {} construct 
and it will be styled differently, to show a part of the path that must 
be replaced.

I'll add it to the example manual (tomorrow; I'm signing off for tonight).

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the TYPO3-project-documentation mailing list