mirror of
				https://github.com/flynx/pWiki.git
				synced 2025-10-31 11:00:08 +00:00 
			
		
		
		
	added macro excaping to docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									a44181cc97
								
							
						
					
					
						commit
						54c1919dfb
					
				
							
								
								
									
										2
									
								
								bootstrap.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								bootstrap.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @ -24,6 +24,34 @@ The two forms exist to fill two distinct functions: | |||||||
| - inline: compatible with attribute values and short | - inline: compatible with attribute values and short | ||||||
| - html-like: element-like, simpler when dealing with html | - html-like: element-like, simpler when dealing with html | ||||||
| 
 | 
 | ||||||
|  | ### Escaping macros | ||||||
|  | 
 | ||||||
|  | Macros can be escaped for inclusion in the page, the two types of macros  | ||||||
|  | are escaped a bit differently: | ||||||
|  | 
 | ||||||
|  | - inline macros -- escaped by preceding with a `\` | ||||||
|  | 
 | ||||||
|  |   ``` | ||||||
|  |   \\@include(SomePage) | ||||||
|  |   ``` | ||||||
|  | 
 | ||||||
|  |   Displayed in page as: | ||||||
|  | 
 | ||||||
|  |     \@include(SomePage) | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | - html-like macros -- escaped _the HTML way_ | ||||||
|  | 
 | ||||||
|  |   ``` | ||||||
|  |   <include src="SomePage"\> | ||||||
|  |   ``` | ||||||
|  | 
 | ||||||
|  |   Displayed in page as: | ||||||
|  | 
 | ||||||
|  | 	  <include src="SomePage"\> | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| 
 | 
 | ||||||
| ## Macros | ## Macros | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user