# A more basic getting started Writing mermaid code is simple. But how is it turned into a diagram in a web page? To do this We need a mermaid renderer. Thankfully the mermaid renderer is very accessible. The requirement is on the part of the web browser (modern web browsers such as Firefox, Chrome, Safari work, but Internet Explorer does not). The web browser also needs to be able to access the online mermaid renderer at cdn.jsdelivr.net/npm/ Here is one example using an online mermaid editor, one example using a mermaid plugin and one example using a generic web server. Following either of these examples, you can get started converting your own mermaid code into web diagrams. ## the mermaid live editor The quickest way to get started with mermaid is to visit [The mermaid live editor](https://mermaidjs.github.io/mermaid-live-editor). In the `Code` section one can write or edit raw mermaid code, and instantly `Preview` the rendered result. This is a great way to get started. It is also the easiest way to develop diagrams, the code of which can be pasted straight into documentation.  The `Mermaid configuration` is for controlling the behaviour of mermaid. An easy introduction is found in the [n00b Advanced section] and a complete configuration reference is found [here]. ## mermaid using plugins Thanks to the growing popularity of mermaid, many plugins already exist which incorporate a mermaid renderer. One example is the [Atlassian Confluence mermaid plugin](https://marketplace.atlassian.com/apps/1214124/mermaid-plugin-for-confluence?hosting=server&tab=overview) When the mermaid plugin is installed on a Confluence server, one can insert a mermaid object into any Confluence page. --- - In a Confluence page, Add Other macros.  --- - Search for mermaid.  --- - The mermaid object appears. Paste your mermaid code in it.  --- - Save the page.  --- ## mermaid using any web server This example can be used with any web server: Apache, IIS, nginx, node express [...] We do not need to install anything on the server, to have it serve a mermaid diagram to a web browser (such as Firefox, Chrome, Safari, but not Internet Explorer). Instead, we need to give the web browser three instructions inside the html code it retrieves: 1. a reference for fetching the online mermaid renderer, which in essence is a javascript. 2. the mermaid code we want to diagram. 3. the initialize mermaid command. All this is done in the html `
` section of the web page. The reference to the mermaid renderer is done in a ` ``` The embedded mermaid code is similarly placed in a ` Here the mermaid renderer is loaded: Here we trigger the mermaid renderer, upon which it starts looking for mermaid