Closed veksen closed 3 years ago
.env files are a simple key value delimited by =:
.env
=
A regex would be: /^\s*([\w.-]+)\s*=\s*(.*)?\s*$/
/^\s*([\w.-]+)\s*=\s*(.*)?\s*$/
Could look at https://github.com/PrismJS/prism/blob/master/components/prism-erb.js for implementation example, and then imported at the top of this file: https://github.com/the-programmers-hangout/website/blob/master/src/components/Markdown/index.tsx.
I can work on this if no one shows interest in TPH.
can I be assigned to this?
.env
files are a simple key value delimited by=
:A regex would be:
/^\s*([\w.-]+)\s*=\s*(.*)?\s*$/
Could look at https://github.com/PrismJS/prism/blob/master/components/prism-erb.js for implementation example, and then imported at the top of this file: https://github.com/the-programmers-hangout/website/blob/master/src/components/Markdown/index.tsx.