DocBook reader: Support prompt, parameter.
This commit is contained in:
parent
bff02dd369
commit
d63bfb4bc5
1 changed files with 4 additions and 2 deletions
|
@ -277,7 +277,7 @@ List of all DocBook tags, with [x] indicating implemented,
|
||||||
entry
|
entry
|
||||||
[x] para - A paragraph
|
[x] para - A paragraph
|
||||||
[ ] paramdef - Information about a function parameter in a programming language
|
[ ] paramdef - Information about a function parameter in a programming language
|
||||||
[ ] parameter - A value or a symbolic reference to a value
|
[x] parameter - A value or a symbolic reference to a value
|
||||||
[ ] part - A division in a book
|
[ ] part - A division in a book
|
||||||
[ ] partinfo - Meta-information for a Part
|
[ ] partinfo - Meta-information for a Part
|
||||||
[ ] partintro - An introduction to the contents of a part
|
[ ] partintro - An introduction to the contents of a part
|
||||||
|
@ -301,7 +301,7 @@ List of all DocBook tags, with [x] indicating implemented,
|
||||||
[ ] productnumber - A number assigned to a product
|
[ ] productnumber - A number assigned to a product
|
||||||
[x] programlisting - A literal listing of all or part of a program
|
[x] programlisting - A literal listing of all or part of a program
|
||||||
[ ] programlistingco - A program listing with associated areas used in callouts
|
[ ] programlistingco - A program listing with associated areas used in callouts
|
||||||
[ ] prompt - A character or string indicating the start of an input field in
|
[x] prompt - A character or string indicating the start of an input field in
|
||||||
a computer display
|
a computer display
|
||||||
[ ] property - A unit of data associated with some part of a computer system
|
[ ] property - A unit of data associated with some part of a computer system
|
||||||
[ ] pubdate - The date of publication of a document
|
[ ] pubdate - The date of publication of a document
|
||||||
|
@ -780,6 +780,8 @@ parseInline (Elem e) =
|
||||||
"code" -> return $ code $ strContent e -- TODO attrs
|
"code" -> return $ code $ strContent e -- TODO attrs
|
||||||
"filename" -> return $ codeWith ("",["filename"],[]) $ strContent e -- TODO attrs
|
"filename" -> return $ codeWith ("",["filename"],[]) $ strContent e -- TODO attrs
|
||||||
"literal" -> return $ code $ strContent e -- TODO attrs
|
"literal" -> return $ code $ strContent e -- TODO attrs
|
||||||
|
"prompt" -> return $ codeWith ("",["prompt"],[]) $ strContent e -- TODO attrs
|
||||||
|
"parameter" -> return $ codeWith ("",["parameter"],[]) $ strContent e -- TODO attrs
|
||||||
"option" -> return $ codeWith ("",["option"],[]) $ strContent e -- TODO attrs
|
"option" -> return $ codeWith ("",["option"],[]) $ strContent e -- TODO attrs
|
||||||
"optional" -> do x <- getInlines e
|
"optional" -> do x <- getInlines e
|
||||||
return $ str "[" <> x <> str "]"
|
return $ str "[" <> x <> str "]"
|
||||||
|
|
Loading…
Reference in a new issue