'Databricks notebook how to add a title to a cell

How to add title to the cell itself like this (The tile and the code are in the same command cell):

enter image description here

Instead of putting it in a separate cell like this (The tile and the code are in different command cells): enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source