TXT Input: Make formatting_type options easier to understand.

This commit is contained in:
John Schember 2011-01-08 17:26:32 -05:00
parent 831ee1fc81
commit 12cbaa2304

View File

@ -35,11 +35,12 @@ class TXTInput(InputFormatPlugin):
OptionRecommendation(name='formatting_type', recommended_value='auto', OptionRecommendation(name='formatting_type', recommended_value='auto',
choices=['auto', 'none', 'heuristic', 'markdown'], choices=['auto', 'none', 'heuristic', 'markdown'],
help=_('Formatting used within the document.' help=_('Formatting used within the document.'
'* auto: Try to auto detect the document formatting.\n' '* auto: Automatically decide which formatting processor to use.\n'
'* none: Do not modify the paragraph formatting. Everything is a paragraph.\n' '* none: Do not process the document formatting. Everything is a '
'* heuristic: Try to detect formatting for elements such as chapter headings ' 'paragraph and no styling is applied.\n'
'and style the elements appropriately.\n' '* heuristic: Process using heuristics to determine formatting such '
'* markdown: Run the input though the markdown pre-processor. ' 'as chapter headings and italic text.\n'
'* markdown: Processing using markdown formatting. '
'To learn more about markdown see')+' http://daringfireball.net/projects/markdown/'), 'To learn more about markdown see')+' http://daringfireball.net/projects/markdown/'),
OptionRecommendation(name='preserve_spaces', recommended_value=False, OptionRecommendation(name='preserve_spaces', recommended_value=False,
help=_('Normally extra spaces are condensed into a single space. ' help=_('Normally extra spaces are condensed into a single space. '