Markdown is plain text with a few simple conventions:
# starts a heading, - starts a bullet,
**bold** makes bold text. A Markdown file has the
extension .md, and it is an ordinary ASCII text
file — you can read it in any editor. A Markdown editor
simply adds a formatted preview alongside the text.
Markdown is the standard format for writing instructions to an AI assistant, and we will use it throughout the course.
You have two good options, and either one is fine for this course:
If you are unsure, start with the lightweight editor. You can always add VS Code in Lab 2.
sudo apt install ghostwriter on Ubuntu.MacDown shows the text and the formatted result in two panes at once. In ghostwriter, open the preview pane from the View menu (or press F9).
Visual Studio Code is free and runs on all three platforms.
.deb or
.rpm package from
code.visualstudio.com
and install it with your package manager, or use
sudo snap install --classic code.To preview a Markdown file in VS Code, press Cmd+Shift+V on a Mac or Ctrl+Shift+V on Windows or Linux.
Whichever editor you chose, create a new file, save it as
test.md, and type a heading and a few bullets:
# My Test File
- first item
- second item
Open the preview. You should see your text formatted, with the heading large and the bullets indented. You now have a working Markdown editor.