✌️
This commit is contained in:
		
							parent
							
								
									50b37a8420
								
							
						
					
					
						commit
						8bcf44bc16
					
				
					 1 changed files with 5 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -24,9 +24,11 @@ const handlers = {
 | 
			
		|||
	},
 | 
			
		||||
 | 
			
		||||
	hashtag({ document }, { hashtag }) {
 | 
			
		||||
		const span = document.createElement('span');
 | 
			
		||||
		span.textContent = '#' + hashtag;
 | 
			
		||||
		document.body.appendChild(span);
 | 
			
		||||
		const a = document.createElement('a');
 | 
			
		||||
		a.href = config.url + '/search?q=#' + hashtag;
 | 
			
		||||
		a.textContent = '#' + hashtag;
 | 
			
		||||
		a.setAttribute('rel', 'tag');
 | 
			
		||||
		document.body.appendChild(a);
 | 
			
		||||
	},
 | 
			
		||||
 | 
			
		||||
	'inline-code'({ document }, { code }) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue