/* * SonarQube * Copyright (C) 2009-2017 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ // @flow import React from 'react'; export default function MarkdownHelp() { return (

Markdown Syntax

Write: To display:
*this text is bold* this text is bold
{'http://sonarqube.org'} {'http://sonarqube.org'}
[SonarQube™ Home Page](http://www.sonarqube.org) SonarQube™ Home Page
* first item
* second item
  • first item
  • second item
1. first item
1. second item
  1. first item
  2. second item
= Heading Level 1
== Heading Level 2
=== Heading Level 3
==== Heading Level 4
===== Heading Level 5
====== Heading Level 6

Heading Level 1

Heading Level 2

Heading Level 3

Heading Level 4

Heading Level 5
Heading Level 6
``Lists#newArrayList()`` Lists#newArrayList()
``
// code on multiple lines
{'public void foo() {'}
  {'// do some logic here'}
{'}'}
``
                {'// code on multiple lines\npublic void foo() {\n  // do some logic here\n}'}
              
Standard text
> Blockquoted text
> that spans multiple lines

Standard text

Blockquoted text
that spans multiple lines
); }