@readme/markdown 6.73.0 → 6.74.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,10 +8,10 @@ const Callout = props => {
8
8
  return (
9
9
  // eslint-disable-next-line react/jsx-props-no-spreading, react/no-unknown-property
10
10
  <blockquote {...attributes} className={`callout callout_${theme}`} theme={icon}>
11
- <p className={`callout-heading${title ? '' : ' empty'}`}>
11
+ <h2 className={`callout-heading${title ? '' : ' empty'}`}>
12
12
  <span className="callout-icon">{icon}</span>
13
13
  {title}
14
- </p>
14
+ </h2>
15
15
  {content}
16
16
  </blockquote>
17
17
  );
package/dist/main.js CHANGED
@@ -7510,7 +7510,7 @@ var Callout = function Callout(props) {
7510
7510
  React.createElement("blockquote", _extends({}, attributes, {
7511
7511
  className: "callout callout_".concat(theme),
7512
7512
  theme: icon
7513
- }), /*#__PURE__*/React.createElement("p", {
7513
+ }), /*#__PURE__*/React.createElement("h2", {
7514
7514
  className: "callout-heading".concat(title ? '' : ' empty')
7515
7515
  }, /*#__PURE__*/React.createElement("span", {
7516
7516
  className: "callout-icon"
package/dist/main.node.js CHANGED
@@ -7510,7 +7510,7 @@ var Callout = function Callout(props) {
7510
7510
  React.createElement("blockquote", _extends({}, attributes, {
7511
7511
  className: "callout callout_".concat(theme),
7512
7512
  theme: icon
7513
- }), /*#__PURE__*/React.createElement("p", {
7513
+ }), /*#__PURE__*/React.createElement("h2", {
7514
7514
  className: "callout-heading".concat(title ? '' : ' empty')
7515
7515
  }, /*#__PURE__*/React.createElement("span", {
7516
7516
  className: "callout-icon"
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@readme/markdown",
3
3
  "description": "ReadMe's React-based Markdown parser",
4
4
  "author": "Rafe Goldberg <rafe@readme.io>",
5
- "version": "6.73.0",
5
+ "version": "6.74.0",
6
6
  "main": "dist/main.node.js",
7
7
  "browser": "dist/main.js",
8
8
  "files": [