You've already forked joplin
							
							
				mirror of
				https://github.com/laurent22/joplin.git
				synced 2025-10-31 00:07:48 +02:00 
			
		
		
		
	This commit is contained in:
		| @@ -194,6 +194,12 @@ export default function useSource(noteBody: string, noteMarkupLanguage: number, | ||||
| 					padding: 0; | ||||
| 				} | ||||
| 			`; | ||||
| 			const defaultCss = ` | ||||
| 				code { | ||||
| 					white-space: pre-wrap; | ||||
| 					overflow-x: hidden; | ||||
| 				} | ||||
| 			`; | ||||
|  | ||||
| 			html = | ||||
| 				` | ||||
| @@ -203,7 +209,7 @@ export default function useSource(noteBody: string, noteMarkupLanguage: number, | ||||
| 						<meta charset="UTF-8"> | ||||
| 						<meta name="viewport" content="width=device-width, initial-scale=1"> | ||||
| 						<style> | ||||
| 							${shim.mobilePlatform() === 'ios' ? iOSSpecificCss : ''} | ||||
| 							${shim.mobilePlatform() === 'ios' ? `${iOSSpecificCss}\n${defaultCss}` : defaultCss} | ||||
| 						</style> | ||||
| 						${assetsToHeaders(result.pluginAssets, { asHtml: true })} | ||||
| 					</head> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user