{"repo":"codeskills-dev/md-to-react-email","free":true,"listed":false,"github":"https://github.com/codeskills-dev/md-to-react-email","clone":"git clone https://github.com/codeskills-dev/md-to-react-email.git","description":"Lightweight utility for converting Markdown into valid React Email templates","language":"TypeScript","stars":40,"topics":["email","emailjs","react","react-email","markdown"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"md-to-react-email Read the documentation here Description md-to-react-email is a lightweight utility for converting Markdown into valid JSX that can be used in React-email or JSX-email templates. This tool simplifies the process of creating responsive and customizable email templates by leveraging the power of React and Markdown. Note : Starting from version 4 , md-to-react-email uses Marked for markdown transformation. see all changes here Support The following markdown flavors are supported - Offical markdown flavour Installation Install from your command line. With yarn With npm Features Functions: - camelToKebabCase : converts strings from camelcase ['thisIsCamelCase'] to kebab case ['this-is-kebab-case'] - parseCssInJsToInlineCss : converts css styles from css-in-js to inline css e.g fontSize: \"18px\" = font-size: 18px; - parseMarkdownToJSX : parses markdown to valid JSX for the client (i.e the browser) Components: - EmailMarkdown : a react component that takes in markdown input and parses it directly in your code base Usage: - Directly as React-email or JSX-email component - Directly into react-email template Components md-to-react-email contains pre-defined react and html components for the email template structure and styling. You can modify these components to customize the look and feel of your email template. The following components are available for customization: - Headers (h1 - h6) - BlockQuotes - Text: paragraphs, bold and italic text - Links - Code: Code block","default_branch":null,"files":null,"tree":[],"storefront":"/r/codeskills-dev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/codeskills-dev/md-to-react-email/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}