# Markdown editor with Showdown ## Introduction In this tutorial, you will create a simple in-browser Markdown editor using Showdown and some of its extensions. The purpose is to show how easy it is to include and configure Showdown in your project. The fully working example you can see in [Fiddle][1]. ## Step 1: Prepare project 1. Install [node.js](https://nodejs.org/en/). 1. Install project package management tool !!! info "" Showdown core library doesn't have any dependencies so the setup is pretty straightforward. However, you are strongly encouraged to use a package manager such as [**npm**](http://npmjs.com) or [**yarn**](https://yarnpkg.com) to manage project dependencies. To install package management tool: 1. Create a directory called `showdown-editor` and recreate the following structure: ``` showdown-editor ├── css │ └── style.css ├── js │ └── script.js └── index.html ``` 1. Initialize `package.json` file by running the following interactive console command: ``` npm init -y ``` This command creates `package.json` file in the root of the project folder, and populates the default content that you can change later if you wish. ## Step 2: Install Showdown Inside the `showdown-editor` directory, run the following command: ``` npm install showdown --save ``` This command will install `showdown` inside the `node_modules` directory and save `showdown` as a dependency in the `package.json` file. ## Step 3: Update project files Add the following content to the corresponding project files: === "index.html" ```html