Re: [Rest2web-develop] txt instead of rst?
Brought to you by:
mjfoord
From: martin f k. <ma...@ma...> - 2006-08-11 23:56:50
|
also sprach Michael Foord <fuz...@vo...> [2006.08.12.0034 +010= 0]: > http://docutils.sourceforge.net/FAQ.html#what-s-the-standard-filename-ext= ension-for-a-restructuredtext-file /me hides > 2.4 What's the standard filename extension for a reStructuredText=20 > file? >=20 > It's ".txt". Some people would like to use ".rest" or ".rst" or=20 > ".restx", but why bother? I did not know this. > 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 ? >=20 > What should it do with the filenames if it finds 'xyz.txt' and > 'xyz.rst' in the same directory ? I don't have good answers to this. Generally I'd say .rst over .txt, but now that I've seen the FAQ. I've committed a patch to vim upstream to active rst-style syntax highlighting if /^restindex$/ is found in the first five lines of a file. This should make it extension-agnostic. Cheers, --=20 martin; (greetings from the heart of the sun.) \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck =20 spamtraps: mad...@ma... =20 "ist gott eine erfindung des teufels?" - friedrich nietzsche |