Content Contributors: Sebastian Karcher
Lesson Maintainers: Sebastian Karcher
Lesson status: In Development
- Use the Atom editor to write and preview texts in markdown
- Use github to turn markdown files into a modern website
- Convert markdown into different formats like
.docxusing pandoc
- Topic 1: Getting Started
- Topic 2: Markdown Syntax
- Topic 3: Github Pages
- Topic 4: Jekyll Setup (optional)
- Topic 5: Site Structure
- Topic 6: Changing your site theme (optional)
- Topic 7: Transforming markdown using Pandoc
Author Carpentry's teaching is hands-on, so participants are encouraged to use their own computers to insure the proper setup of tools for an efficient workflow. These lessons assume no prior knowledge of the skills or tools, but working through this lesson requires working copies of the software described below. To most effectively use these materials, please make sure to install everything before working through this lesson.
- Create a github account if you do not have one already
- Go to github.com and pick a username and password to create an account
- For Windows users: Install git via https://git-scm.com/download/win
-
If you have never run git (you can check using
git config --list) you need to set up your username and e-mail: -
Either follow the detailed instruction on the Software Carpentry site or simply run:
$ git config --global user.name "Your Username" $ git config --global user.email "your@email.edu" $ git config --global color.ui "auto"
- You should have a good text editor. Atom is a free an open source editor with excellent markdown support that we highly recommend you install and use, and some portions of this course rely on atom.
- Atom is highly extensible with "packages" that add functionality. For markdown, install the package Markdown Preview Plus:
- Click "Install a Package" or go to Edit --> Preferences (Atom -> Preferences on a mac) and click on "Install" on the left. Paste
markdown-preview-plusinto the search window, press return, and click the blue "Install" button next to the package. On successful installation, you will have the package listed in the "Package" menu. - Paste
git-plusinto the search window, press return, and click the blue "Install" button next to the package. (Not git-plus-plus) On successful installation, you will have the package listed in the "Package" menu. - If you have a solid grasp of git using the commandline and you do not want to install Atom, other good editors such as TextWrangler/BBEdit, Sublime, or Notepad++ work, too.
- Pandoc software allows you to transform many (many!) text-based formats. For most users, simply downloading and installing the installer for your operating system from the Pandoc site is all that is necessary. Pandoc also provides more detailed installation instructions.