Added notes to content
This commit is contained in:
		
							parent
							
								
									741a10ef29
								
							
						
					
					
						commit
						025e4c4d31
					
				| @ -52,7 +52,11 @@ export default function Markdawn(props: Props): JSX.Element { | ||||
|                       </a> | ||||
|                     ); | ||||
|                   } | ||||
|                   return <a href={compProps.href}>{compProps.children}</a>; | ||||
|                   return ( | ||||
|                     <a href={compProps.href} target="_blank" rel="noreferrer"> | ||||
|                       {compProps.children} | ||||
|                     </a> | ||||
|                   ); | ||||
|                 }, | ||||
|               }, | ||||
|               h1: { | ||||
|  | ||||
| @ -198,6 +198,15 @@ export default function Content(props: Props): JSX.Element { | ||||
|                 </div> | ||||
|               </div> | ||||
|             )} | ||||
| 
 | ||||
|           {selectedTextSet.notes && ( | ||||
|             <div> | ||||
|               <p className="font-headers">{"Notes"}:</p> | ||||
|               <div className="grid place-items-center place-content-center gap-2"> | ||||
|                 <Markdawn text={selectedTextSet.notes} /> | ||||
|               </div> | ||||
|             </div> | ||||
|           )} | ||||
|         </div> | ||||
|       )} | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 DrMint
						DrMint