Skip to content

Adding horizontal scrolling functionality to code blocks #909

Open
@JaredStemper

Description

@JaredStemper

As a recent convert to the silverbullet way of life I noticed that there seems to be no functionality to enable horizontal scrolling on code blocks. Below is an example of current output given the below YAML snippet, and beneath that is an example of this functionality done very well (stackoverflow).

I believe this would be a strong feature to add considering how heavily this tool lends itself to a programming/scripting-heavy user base.

As seen below, the current word wrapping makes reading any longer chunks of code rather cramped.
image

Below is an example of code block scrolling done well.
stackoverflow

This tool does great work and I'm already a huge fan and working to convert peers and friends over, so thank you for all the hard work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions