Skip to content

How to achieve a non-rust editable code block #2242

Open
@braykov

Description

@braykov

Question

I need to use mdbook for non-rust projects.
Editing code block contents before copying is very useful.
I want to achieve the following:

  • have a code block with any non-rust highlighting
  • have it editable
  • have the "undo" button available
  • have the "play" button removed

I fiddled with ignore, no-playground and no_run but was unable to achieve this.
Is there a combination of the above or any other way?

Version

0.4.35

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ACEArea: ACE EditorC-questionCategory: A question on how to do something

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions