arobase-che / remark-attr

Remark plugin to add support for custom attributes
Other
57 stars 16 forks source link

`atxHeading` -> `heading` #12

Closed nd0ut closed 4 years ago

nd0ut commented 4 years ago

Hello! I noticed a little mistake in the readme.

This is not working: { atxHeading: ['attr'] } This is ok: { heading: ['attr'] }

Because there is no such type

const convTypeTag = {
  image: "img",
  link: "a",
  heading: "h1",
  strong: "strong",
  emphasis: "em",
  delete: "s",
  inlineCode: "code",
  code: "code",
  "*": "*"
};
arobase-che commented 4 years ago

Absolutely !

Thank you. ^^