mirror of
				https://github.com/nsnail/spectre.console.git
				synced 2025-11-01 01:25:27 +08:00 
			
		
		
		
	 eeb3f967b6
			
		
	
	eeb3f967b6
	
	
	
		
			
			* Add constants for emojis * Move emoji shortcode rendering to Markup * Add documentation * Add example * Add tests
		
			
				
	
	
		
			10 lines
		
	
	
		
			298 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			298 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| [
 | |
|     {{~ for x in 0..(emojis.size-1) ~}}
 | |
|     {
 | |
|         "id": "{{ emojis[x].identifier }}",
 | |
|         "name": "{{ emojis[x].name }}",
 | |
|         "description": "{{ emojis[x].description }}",
 | |
|         "code": "{{ emojis[x].normalized_code }}"
 | |
|     }{{ if x != (emojis.size-1) }},{{ end }}
 | |
|     {{~ end ~}}
 | |
| ] |