forked from MapComplete/MapComplete
		
	Chore: formatting
This commit is contained in:
		
							parent
							
								
									35eff07c80
								
							
						
					
					
						commit
						c08fe03ed0
					
				
					 422 changed files with 31594 additions and 43019 deletions
				
			
		|  | @ -4,15 +4,15 @@ | |||
| 
 | ||||
|   export let src: string = undefined | ||||
|   export let srcWritable: Store<string> = undefined | ||||
|   srcWritable?.addCallbackAndRunD(t => { | ||||
|   srcWritable?.addCallbackAndRunD((t) => { | ||||
|     src = t | ||||
|   }) | ||||
|   if(src !== undefined && typeof src !== "string") { | ||||
|   if (src !== undefined && typeof src !== "string") { | ||||
|     console.trace("Got a non-string object in Markdown", src) | ||||
|     throw "Markdown.svelte got a non-string object" | ||||
|   } | ||||
| </script> | ||||
| 
 | ||||
| {#if src?.length > 0} | ||||
|   {@html marked.parse(src)} | ||||
| {/if} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue