mirror of
				https://github.com/cinnyapp/cinny.git
				synced 2025-11-04 06:20:28 +03:00 
			
		
		
		
	Rework Markdown parsing (#719)
* Switch markdown parser * Add inline maths * Basic plain text rendering * Add display math support * Remove unnecessary <p> tag * Fixed spoiler not working * Add spoiler reason input support * Make paragraphs display with newline in between * Handle single newlines * Fix typo when allowing start attribute * Cleanup for merge * Remove unused import
This commit is contained in:
		
							parent
							
								
									76c16ce294
								
							
						
					
					
						commit
						80aa55b706
					
				
					 6 changed files with 206 additions and 1404 deletions
				
			
		| 
						 | 
				
			
			@ -17,6 +17,7 @@
 | 
			
		|||
  "dependencies": {
 | 
			
		||||
    "@fontsource/inter": "^4.5.12",
 | 
			
		||||
    "@fontsource/roboto": "^4.5.8",
 | 
			
		||||
    "@khanacademy/simple-markdown": "^0.8.3",
 | 
			
		||||
    "@matrix-org/olm": "https://gitlab.matrix.org/api/v4/projects/27/packages/npm/@matrix-org/olm/-/@matrix-org/olm-3.2.12.tgz",
 | 
			
		||||
    "@tippyjs/react": "^4.2.6",
 | 
			
		||||
    "babel-polyfill": "^6.26.0",
 | 
			
		||||
| 
						 | 
				
			
			@ -32,12 +33,6 @@
 | 
			
		|||
    "linkify-html": "^4.0.0-beta.5",
 | 
			
		||||
    "linkifyjs": "^4.0.0-beta.5",
 | 
			
		||||
    "matrix-js-sdk": "^19.2.0",
 | 
			
		||||
    "micromark": "^3.0.10",
 | 
			
		||||
    "micromark-extension-gfm": "^2.0.1",
 | 
			
		||||
    "micromark-extension-math": "^2.0.2",
 | 
			
		||||
    "micromark-util-chunked": "^1.0.0",
 | 
			
		||||
    "micromark-util-resolve-all": "^1.0.0",
 | 
			
		||||
    "micromark-util-symbol": "^1.0.1",
 | 
			
		||||
    "prop-types": "^15.8.1",
 | 
			
		||||
    "react": "^17.0.2",
 | 
			
		||||
    "react-autosize-textarea": "^7.1.0",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue