mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	actually show off the syntax highlighting
at some point the default language stopped being AiScript, so we have to mark our little example to make the colors happen
This commit is contained in:
		
							parent
							
								
									49d6fc6782
								
							
						
					
					
						commit
						65c03e3e54
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -431,7 +431,7 @@ const preview_center = ref(
 | 
			
		|||
);
 | 
			
		||||
const preview_inlineCode = ref('`<: "Hello, world!"`');
 | 
			
		||||
const preview_blockCode = ref(
 | 
			
		||||
	'```\n~ (#i, 100) {\n\t<: ? ((i % 15) = 0) "FizzBuzz"\n\t\t.? ((i % 3) = 0) "Fizz"\n\t\t.? ((i % 5) = 0) "Buzz"\n\t\t. i\n}\n```',
 | 
			
		||||
	'```ai\n~ (#i, 100) {\n\t<: ? ((i % 15) = 0) "FizzBuzz"\n\t\t.? ((i % 3) = 0) "Fizz"\n\t\t.? ((i % 5) = 0) "Buzz"\n\t\t. i\n}\n```',
 | 
			
		||||
);
 | 
			
		||||
const preview_inlineMath = ref(
 | 
			
		||||
	'\\(x= \\frac{-b\' \\pm \\sqrt{(b\')^2-ac}}{a}\\)',
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue