Could it be possible to use Markdown in IDE 2?
With a plugin?
Thanks
You can add and edit .md
files to your sketch in Arduino IDE 2.x. The only thing missing is a viewer for the rendered output of the markup.
The nice thing about Markdown is that even the raw source is quite readable (the language was actually based on text stylings already in common use when writing unrendered text).
If you are really set on having a viewer, you can look through the many free open source extensions in the VS Code Marketplace:
Arduino doesn't provide official support for using arbitrary extensions with Arduino IDE, so it is very much an "at your own risk" thing, but the framework Arduino IDE is built on does support VS Code extensions so you will find that many extensions work just fine with Arduino IDE.
There are instructions for installing VS Code extensions for Arduino IDE here:
https://github.com/arduino/arduino-ide/blob/main/docs/advanced-usage.md#3rd-party-themes
Even though the instructions are targeted to the installation of theme extensions, they actually apply to any type of VS Code extension.
Not sure why you have a need for it.
I use ghostWriter (free) or Typora as stand-alone markdown editors. They give the visual feedback what your text will look like.
I also use Notepad++ (in Windows) which does not quite give you the visual feedback (although you can recognise it).
It’s just that I would like to put markdown files in the IDE as documentation like read mes
I won’t be using the editor as my main markdown editor probably.
I guess I will just edit and render the files in a different editor.
Thanks!!!!
Any .md
files present in the root of the sketch folder will be opened as tabs in Arduino IDE, where the source text can be viewed and edited.
I use VS Code for editing Markdown. It has a nice viewer pre-installed.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.