mirror of
				https://github.com/flynx/pWiki.git
				synced 2025-10-30 18:40:08 +00:00 
			
		
		
		
	notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									78af3300c2
								
							
						
					
					
						commit
						05cf25bd16
					
				| @ -855,7 +855,7 @@ var styling = { | |||||||
| 			.replace(/(\s*)(?<!\\)(ASAP|TEST|BUG|FIX|HACK|STUB|WARNING|CAUTION)(\s*)/gm,  | 			.replace(/(\s*)(?<!\\)(ASAP|TEST|BUG|FIX|HACK|STUB|WARNING|CAUTION)(\s*)/gm,  | ||||||
| 				'$1<span class="highlight $2">$2</span>$3') | 				'$1<span class="highlight $2">$2</span>$3') | ||||||
| 			// elements...
 | 			// elements...
 | ||||||
| 			.replace(/(\n|^)(?<!\\)---+[\t ]*(\n|$)/m, '$1<hr>') | 			.replace(/(\n|^)(?<!\\)---+[\t ]*(\n|$)/gm, '$1<hr>') | ||||||
| 			// basic styling...
 | 			// basic styling...
 | ||||||
| 			.replace(/(?<!\\)\*(?=[^\s*])(([^*]|\\\*)*[^\s*])(?<!\\)\*/gm, '<b>$1</b>') | 			.replace(/(?<!\\)\*(?=[^\s*])(([^*]|\\\*)*[^\s*])(?<!\\)\*/gm, '<b>$1</b>') | ||||||
| 			.replace(/(?<!\\)~(?=[^\s~])(([^~]|\\~)*[^\s~])(?<!\\)~/gm, '<s>$1</s>') | 			.replace(/(?<!\\)~(?=[^\s~])(([^~]|\\~)*[^\s~])(?<!\\)~/gm, '<s>$1</s>') | ||||||
|  | |||||||
| @ -152,7 +152,22 @@ var setup = function(){ | |||||||
|     - delete attr from code -- by removing it from attr list (when shown)... |     - delete attr from code -- by removing it from attr list (when shown)... | ||||||
|     - DONE BUG? can't set `''` as attr value -- parser?? |     - DONE BUG? can't set `''` as attr value -- parser?? | ||||||
|   - TOC: tweaking: add args like depth, ... -- as attributes... |   - TOC: tweaking: add args like depth, ... -- as attributes... | ||||||
|   - TOC: should it be persistently generated as code and be serializable? |   - TOC: persistently generate as code | ||||||
|  |     - ``` | ||||||
|  |       TOC | ||||||
|  |       ``` | ||||||
|  |       should turn into: | ||||||
|  |       ``` | ||||||
|  |       TOC | ||||||
|  |       \- [moo](#moo) | ||||||
|  |           \- [foo](#foo) | ||||||
|  |       ``` | ||||||
|  |       shown as: | ||||||
|  |       --- | ||||||
|  |       \- [moo](#moo) | ||||||
|  |           \- [foo](#foo) | ||||||
|  |       --- | ||||||
|  |     - ASAP check if we can add blocks during element handling... | ||||||
|   - simple use strategies: |   - simple use strategies: | ||||||
|     - custom element |     - custom element | ||||||
| 	- constructor | 	- constructor | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user