mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 15:34:13 +00:00 
			
		
		
		
	upd: bold some Header tags
This commit is contained in:
		
							parent
							
								
									1063102186
								
							
						
					
					
						commit
						0c3690a8ba
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -129,14 +129,16 @@ export class MfmService {
 | 
			
		|||
 | 
			
		||||
				case 'h1':
 | 
			
		||||
				{
 | 
			
		||||
					text += '【';
 | 
			
		||||
					text += '**【';
 | 
			
		||||
					appendChildren(node.childNodes);
 | 
			
		||||
					text += '】\n';
 | 
			
		||||
					text += '】**\n';
 | 
			
		||||
					break;
 | 
			
		||||
				}
 | 
			
		||||
 | 
			
		||||
				case 'b':
 | 
			
		||||
				case 'strong':
 | 
			
		||||
				case 'h2':
 | 
			
		||||
				case 'h3':
 | 
			
		||||
				{
 | 
			
		||||
					text += '**';
 | 
			
		||||
					appendChildren(node.childNodes);
 | 
			
		||||
| 
						 | 
				
			
			@ -200,8 +202,6 @@ export class MfmService {
 | 
			
		|||
				}
 | 
			
		||||
 | 
			
		||||
				case 'p':
 | 
			
		||||
				case 'h2':
 | 
			
		||||
				case 'h3':
 | 
			
		||||
				case 'h4':
 | 
			
		||||
				case 'h5':
 | 
			
		||||
				case 'h6':
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue