Rolled back to v0.0.2

This commit is contained in:
Danny Avila 2023-03-10 12:55:45 -05:00
parent 57d3025717
commit 72ff47e204
20 changed files with 87 additions and 142 deletions

View file

@ -2,22 +2,10 @@ import React from 'react';
import Markdown from 'markdown-to-jsx';
import Embed from './Embed';
import Highlight from './Highlight';
import TabLink from './TabLink';
import regexSplit from '~/utils/regexSplit';
import { wrapperRegex } from '~/utils';
const { codeRegex, inLineRegex, markupRegex, languageMatch, newLineMatch } = wrapperRegex;
const mdOptions = {
wrapper: React.Fragment,
forceWrapper: true,
overrides: {
a: {
component: TabLink,
// props: {
// className: 'foo'
// }
}
}
};
const mdOptions = { wrapper: React.Fragment, forceWrapper: true };
const inLineWrap = (parts) => {
let previousElement = null;