Skip to content

Add code and output style options#4

Open
tchoutri wants to merge 1 commit into
DataHaskell:mainfrom
tchoutri:add-code-and-output-styles
Open

Add code and output style options#4
tchoutri wants to merge 1 commit into
DataHaskell:mainfrom
tchoutri:add-code-and-output-styles

Conversation

@tchoutri

Copy link
Copy Markdown

This PR adds styling options for the code fences and results in the final document.

The idea is to support "cleaner" markdown generation for non-interactive workflows so that neither the original code nor blockquotes are visible in the generated markdown.

Examples

This screenshot shows the combination of displayed code and raw output:

image

This screenshot shows the combination of removed code and raw output:

image

This also closes #3 as this is precisely what I need.


@mchav I had to move some stuff around to avoid awkward dependencies between modules. If you want I can submit a re-design of the layers of the application. Also I'm willing to help scripths transition to optparse-applicative. Just say the word. :)

This PR adds styling options for the code fences and results in the
final document.

The idea is to support "cleaner" markdown generation for non-interactive
workflows so that neither the original code nor blockquotes are visible
in the generated markdown.
@tchoutri tchoutri changed the title Add code and outut style options Add code and output style options Jun 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using scripths to generate documentation of a Haskell project

1 participant