Skip to content

Copy code for discord #672

Closed
Closed
@DarwinWasWrong

Description

@DarwinWasWrong

In the edit menu, there is an option to copy code for forum. Control shift C
this places [CODE] and [/CODE] around the copied code.
This is very handy for posting code to the forum.

Is it possible to add either a copy code for discord or have the code block specification adjustable in setup

On discord, the code surrounds are three back ticks, the word arduino then three back ticks closing off the block
``` arduino ```

The use of the arduino keyword colors the code

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions