Skip to content

Is there one way to set wordwrap on with markdown but set wordwrap off in scripts shown in markdown. #186957

Open
@sci-42ver

Description

I use the following setting. With the help of this issue #164267 and other related vscode docs, I can enable only markdown word wrap now.
Current settings:

    "[markdown]": {
        "editor.wordWrap": "on"
    },
    "editor.wordWrap": "off",

features wanted:
I want to make scripts in markdown word wrap (the ending "```" not shown in the following example due to markdown rendering). That is the following echo "very_long_foo" word wrapped.

  ```bash
  echo "very_long_foo"

Is there one way to achieve that ? Thanks for help.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

editor-wrappingEditor line wrapping issuesfeature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions