Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/LLazyEmail/markdown-regex
Set of constants that can help you to parse markdown content
https://github.com/LLazyEmail/markdown-regex
javascript markdown npm regex rollup
Last synced: about 1 month ago
JSON representation
Set of constants that can help you to parse markdown content
- Host: GitHub
- URL: https://github.com/LLazyEmail/markdown-regex
- Owner: LLazyEmail
- License: mit
- Created: 2021-09-13T14:58:22.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-29T14:04:01.000Z (3 months ago)
- Last Synced: 2024-08-29T15:41:16.215Z (3 months ago)
- Topics: javascript, markdown, npm, regex, rollup
- Language: JavaScript
- Homepage:
- Size: 2.2 MB
- Stars: 10
- Watchers: 2
- Forks: 4
- Open Issues: 32
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
- project-awesome - LLazyEmail/markdown-regex - Set of constants that can help you to parse markdown content (JavaScript)
README
```
yarn add markdown-regeximport { REGEXP_BR, REGEXP_LINK, REGEXP_STRONG } from 'markdown-regex';
```https://lgtm.com/projects/g/LLazyEmail/markdown-regex
[![Total alerts](https://img.shields.io/lgtm/alerts/g/LLazyEmail/markdown-regex.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/LLazyEmail/markdown-regex/alerts/)
[![NPM](https://nodei.co/npm/markdown-regex.png)](https://npmjs.org/package/markdown-regex)
https://openbase.com/js/markdown-regex
### REGEXP_HEADER
---
### REGEXP_IMAGE
---
### REGEXP_LINK
---
### REGEXP_STRONG
---
### REGEXP_DEL
---
### REGEXP_Q
---
### REGEXP_CODE
---
### REGEXP_BLOCKQUOTE
---
### REGEXP_HR
---
### REGEXP_PARAGRAPH
---
### REGEXP_BR
---
### REGEXP_EMPTY_BLOCKQUOTE
---
### REGEXP_EM
---
### REGEXP_UL_LIST---
### REGEXP_OL_LIST
---
### REGEXP_EMPTY_UL
---
### REGEXP_EMPTY_OL
---
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 herefor tests can be used:
- https://gist.github.com/sequielo/3521937
- 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
---
- br: https://github.com/LLazyEmail/markdown-regex/blob/main/tests/br/br.js
---
- code: https://github.com/LLazyEmail/markdown-regex/blob/main/tests/code/code.js
---
- del: https://github.com/LLazyEmail/markdown-regex/blob/main/tests/del/del.js
---
- em: https://github.com/LLazyEmail/markdown-regex/blob/main/tests/em/em.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
---
- header: https://github.com/LLazyEmail/markdown-regex/blob/main/tests/header/header.js
---
- hr: https://github.com/LLazyEmail/markdown-regex/blob/main/tests/hr/hr.js
---
- image: https://github.com/LLazyEmail/markdown-regex/blob/main/tests/image/image.js
---
- link: https://github.com/LLazyEmail/markdown-regex/blob/main/tests/link/link.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
---
- q: https://github.com/LLazyEmail/markdown-regex/blob/main/tests/q/q.js
---
- strong: https://github.com/LLazyEmail/markdown-regex/blob/main/tests/strong/strong.js
---
- ul-list: https://github.com/LLazyEmail/markdown-regex/blob/main/tests/ul-list/ulList.test.js
---
#### Arthur Tkachenko articles* [https://hackernoon.com/5-reasons-why-newsletters-should-be-part-of-your-business-strategy](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/organizing-an-advanced-structure-for-html-email-template)
* [https://hackernoon.com/how-i-started-to-build-react-components-for-email-templates](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/introducing-a-simple-npm-module-with-email-templates)
* [https://hackernoon.com/glossary-for-non-technies](https://hackernoon.com/glossary-for-non-technies)
* [https://hackernoon.com/email-marketing-and-how-to-curate-an-effective-business-newsletter](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/exploring-substack-for-building-your-newsletter)
* [https://hackernoon.com/building-a-design-system-for-email-templates-react](https://hackernoon.com/building-a-design-system-for-email-templates-react)
* [https://hackernoon.com/together4victory-list-of-email-marketing-tools](https://hackernoon.com/together4victory-list-of-email-marketing-tools)
* [https://hackernoon.com/cool-newsletters-for-developers-part-1](https://hackernoon.com/cool-newsletters-for-developers-part-1)
* [https://hackernoon.com/cool-resources-for-sending-emails](https://hackernoon.com/cool-resources-for-sending-emails)## [Linkedin page of LLazyEmail](https://www.linkedin.com/company/llazyemail/)