![]() ![]() Para ( formatParas - * Example - $example ) where import Data. Uses list-oriented per-item indentation independent of - paragraph indentation. * Recognizes lists of items, where each item starts with * or - or alphanumeric characters followed by a ) or. The last line of a paragraph will usually - be formatted to contain at least 2 words, pulling from the line - above it. * \"French spacing\" is used: if the current word is capitalized - and the previous word ended in a punctuation character, then - two spaces are used between the words instead of a single space - which is the default elsewhere. * Paragraph text is reformatted to fit the paragraph layout. Indentation values less than that of the primary - paragraph are ignored. * Subsequent paragraphs may increase their indentation over the - default as determined by the indentation level of their first - line. If no indentation is - specified, the blank indentation of the first line of the first - paragraph becomes the default indentation for all paragraphs. ![]() This prefix is - used on the first paragraph line and determines the standard - indentation for all subsequent lines. Features: - * An indentation/prefix text may be specified. This function is roughly equivalent to the Unix `fmt` utility. Paragraphs are delimited by blank lines in the - input. Provided with input text that is - arbitrarily split amongst several strings, this utility will - reformat the text into paragraphs which do not exceed the - specified width. ![]() Text/Format/Para.hs - Module : - Copyright : Kevin Quick - License : BSD3 - Maintainer : Kevin Quick - Stability : Unstable - Portability : portable - Formatting text into paragraphs of specified width. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |