In this article, you'll learn some helpful tips to use Markdown within Incorta Notebook. Markdown helps you take notes, explain the logic, and insert links, tables, etc. in a notebook making your code more understandable to others. Within Incorta Notebooks a markdown paragraph can use either the Markdown language or the HTML language.
To use Markdown, change the first line of a Notebook Paragraph to %md.
Markdown paragraphs can be enabled in any type of Materialized View language: SparkSQL, PySpark, Scala, and SparkR. Below is an example of adding an HTML header.
There is no need to use syntax, you can just start typing regular text, but if you wish to format your text, here are some options available to you:
<h1></h1> or #
<h2></h2> or ##
<h3></h3> or ###
Bold and Italics
By starting a line with a number, you can create an ordered list.
1. First item 2. Second item 3. Third item
By starting the line with the dash, you can create an unordered list.
- First item - Second item - Third item
You can add block quotes to your markdown paragraphs.
To create a block quote, add > in the front of the paragraph.
If you have code that you would like to show in the markdown, you can use one back quote or three back quotes.
The output looks like:
Markdown language supports the following format for links:
If you do not wish to use link text, you don't have to use the syntax, just copy the link in a paragraph.