yarn add markdown-regex
import { REGEXP_BR, REGEXP_LINK, REGEXP_STRONG } from 'markdown-regex';
https://lgtm.com/projects/g/LLazyEmail/markdown-regex
https://openbase.com/js/markdown-regex
NPM Link: https://www.npmjs.com/package/markdown-regex
submodule for https://github.com/atherdon/markdown-to-email
npm link: https://www.npmjs.com/package/markdown-regex
Hackernoon article: https://hackernoon.com/open-sourcing-regular-expressions-for-markdown-syntax-module
@todo:
- we need to move some tests here
for tests can be used:
-
https://github.com/mxstbr/markdown-test-file/blob/master/TEST.md
-
https://stackoverflow.com/questions/51850672/how-to-test-this-regex-in-jest
-
https://jestjs.io/docs/expect#expectstringmatchingstring--regexp
- blockquote: https://github.com/LLazyEmail/markdown-regex/blob/main/tests/blockquote/blockquote.js
- empty-blockquote: https://github.com/LLazyEmail/markdown-regex/blob/main/tests/empty-blockqoute/empty-blockquote.js
- empty-ol: https://github.com/LLazyEmail/markdown-regex/blob/main/tests/empty-ol/empty-ol.js
- empty-ul: https://github.com/LLazyEmail/markdown-regex/blob/main/tests/empty-ul/empty-ul.js
- ol-list: https://github.com/LLazyEmail/markdown-regex/blob/main/tests/ol-list/ol-list.js
- paragraph: https://github.com/LLazyEmail/markdown-regex/blob/main/tests/paragraph/paragraph.js
- ul-list: https://github.com/LLazyEmail/markdown-regex/blob/main/tests/ul-list/ulList.test.js
- https://hackernoon.com/5-reasons-why-newsletters-should-be-part-of-your-business-strategy
- https://hackernoon.com/organizing-an-advanced-structure-for-html-email-template
- https://hackernoon.com/how-i-started-to-build-react-components-for-email-templates
- https://hackernoon.com/introducing-a-simple-npm-module-with-email-templates
- https://hackernoon.com/glossary-for-non-technies
- https://hackernoon.com/email-marketing-and-how-to-curate-an-effective-business-newsletter
- https://hackernoon.com/exploring-substack-for-building-your-newsletter
- https://hackernoon.com/building-a-design-system-for-email-templates-react
- https://hackernoon.com/together4victory-list-of-email-marketing-tools
- https://hackernoon.com/cool-newsletters-for-developers-part-1
- https://hackernoon.com/cool-resources-for-sending-emails