mirror of
				https://github.com/cmur2/joe-syntax.git
				synced 2025-11-04 04:25:08 +01:00 
			
		
		
		
	Added jsf for Markdown
And by the way: plain text should be augmented!
This commit is contained in:
		
							
								
								
									
										33
									
								
								md.jsf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								md.jsf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,33 @@
 | 
				
			|||||||
 | 
					# JOE syntax highlight file for Markdown
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# And yes, this *is* a joke :p
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# bold parsing is not that perfect since this works: **bold__
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					=Idle
 | 
				
			||||||
 | 
					=Bold bold
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					:idle Idle
 | 
				
			||||||
 | 
						*		idle
 | 
				
			||||||
 | 
						"\\"		slash
 | 
				
			||||||
 | 
						"*_"		maybe_bold1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# do escaping of *_
 | 
				
			||||||
 | 
					:slash Idle
 | 
				
			||||||
 | 
						*		idle
 | 
				
			||||||
 | 
						"*_"		idle
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					:maybe_bold1 Idle
 | 
				
			||||||
 | 
						*		idle	noeat
 | 
				
			||||||
 | 
						"*_"		bold	recolor=-2
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					:bold Bold
 | 
				
			||||||
 | 
						*		bold
 | 
				
			||||||
 | 
						"*_"		maybe_end_bold
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					:maybe_end_bold Bold
 | 
				
			||||||
 | 
						*		bold
 | 
				
			||||||
 | 
						"*_"		end_bold
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					:end_bold Bold
 | 
				
			||||||
 | 
						*		idle	noeat
 | 
				
			||||||
		Reference in New Issue
	
	Block a user