feat(nui): Add markdown support to text ui

Also changed the font to be a monospaced font, avoids weird alignment issues
This commit is contained in:
Luke
2022-03-26 11:02:38 +01:00
parent a3874965bc
commit ccf00a6a9e
4 changed files with 898 additions and 471 deletions

View File

@@ -5,26 +5,27 @@
"private": true,
"dependencies": {
"@chakra-ui/react": "^1.8.6",
"@emotion/react": "11",
"@emotion/styled": "11",
"@fortawesome/fontawesome-svg-core": "^6.1.0",
"@fortawesome/free-brands-svg-icons": "^6.1.0",
"@fortawesome/free-regular-svg-icons": "^6.1.0",
"@fortawesome/free-solid-svg-icons": "^6.1.0",
"@emotion/react": "^11.8.2",
"@emotion/styled": "^11.8.1",
"@fortawesome/fontawesome-svg-core": "^6.1.1",
"@fortawesome/free-brands-svg-icons": "^6.1.1",
"@fortawesome/free-regular-svg-icons": "^6.1.1",
"@fortawesome/free-solid-svg-icons": "^6.1.1",
"@fortawesome/react-fontawesome": "^0.1.18",
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2",
"@testing-library/jest-dom": "^5.16.3",
"@testing-library/react": "^12.1.4",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^26.0.24",
"@types/node": "^16.11.18",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"framer-motion": "6",
"@types/node": "^16.11.26",
"@types/react": "^17.0.43",
"@types/react-dom": "^17.0.14",
"framer-motion": "^6.2.8",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-markdown": "^8.0.1",
"react-scripts": "5.0.0",
"typescript": "^4.5.5",
"web-vitals": "^2.1.3"
"typescript": "^4.6.3",
"web-vitals": "^2.1.4"
},
"scripts": {
"start": "cross-env PUBLIC_URL=/ craco start",
@@ -52,8 +53,14 @@
]
},
"devDependencies": {
"@babel/core": ">=7.0.0 <8.0.0",
"@babel/plugin-syntax-flow": "^7.14.5",
"@babel/plugin-transform-react-jsx": "^7.14.9",
"@craco/craco": "^6.4.3",
"@testing-library/dom": "^8.11.4",
"autoprefixer": "^10.0.2",
"cross-env": "^7.0.3",
"postcss": "^8.1.0",
"rimraf": "^3.0.2"
}
}