Jeff Valk

Results 3 issues of Jeff Valk

Currently, components of tables (`Cell`, `Row`, `TableBody`, etc) cannot be used in element filters. The distinction between a typed Pandoc object and an "element component" isn't entirely clear from the...

enhancement

The plain text writer coalesces sequential `LineBreak`s into a single new line. The following example: ```sh json='{"pandoc-api-version":[1,23,1],"meta":{},"blocks":[{"t":"Plain","c":[{"t":"Str","c":"two_line_breaks:"},{"t":"LineBreak"},{"t":"LineBreak"},{"t":"Str","c":"four_line_breaks:"},{"t":"LineBreak"},{"t":"LineBreak"},{"t":"LineBreak"},{"t":"LineBreak"},{"t":"Str","c":"last_line"}]}]}' echo $json | pandoc -f json -t plain ``` produces this output: ```...

bug

The `pandoc.utils.stringify` function normalizes all whitespace. It would be very useful to have the option to return whitespace as represented in the AST. Addition of an optional `preserve_whitespace` argument to...

enhancement