This is the Easy Shortcodes system plugin that performs BBCode style macros through a customizable shortcodes.ini file.
Inserting an h2 heading shortcode seems unnecessary having the native <h3> tag available, however this example is an easier way to explain the plugin’s functionality.