Re: [Rest2web-develop] txt instead of rst?
Brought to you by:
mjfoord
From: Michael F. <fuz...@vo...> - 2006-08-11 23:33:33
|
martin f krafft wrote: > Why did you choose the .txt extension over .rst, btw? Could this be > configured? I'd like to know before I try to write a vim content > parser to get syntax highlighting to work. :) > From : http://docutils.sourceforge.net/FAQ.html#what-s-the-standard-filename-extension-for-a-restructuredtext-file 2.4 What's the standard filename extension for a reStructuredText file? It's ".txt". Some people would like to use ".rest" or ".rst" or ".restx", but why bother? ReStructuredText source files are meant to be readable as plaintext, and most operating systems already associate ".txt" with text files. Using a specialized filename extension would require that users alter their OS settings, which is something that many users will not be willing or able to do. How would you like it configurable. Would you like it to just read '.rst' files as well, preferring (but not requiring) index.txt over index.rst ? What should it do with the filenames if it finds 'xyz.txt' and 'xyz.rst' in the same directory ? Fuzzyman http://www.voidspace.org.uk/python/index.shtml |