mirror of
				http://git.davidovski.xyz/shblg.git
				synced 2024-08-15 00:43:48 +00:00 
			
		
		
		
	Fix formatting
This commit is contained in:
		
							parent
							
								
									a5fcbde9b2
								
							
						
					
					
						commit
						13f6c8a0cb
					
				
					 1 changed files with 4 additions and 8 deletions
				
			
		|  | @ -321,6 +321,7 @@ _code () { | ||||||
|                     printf "</code></pre>\n" |                     printf "</code></pre>\n" | ||||||
|                     codeblock=false |                     codeblock=false | ||||||
|                 } |                 } | ||||||
|  | 
 | ||||||
|                 printf "%s\n" "$line" |                 printf "%s\n" "$line" | ||||||
|                 ;; |                 ;; | ||||||
|         esac |         esac | ||||||
|  | @ -392,7 +393,6 @@ _squash () { | ||||||
| # convert the markdown from stdin into html | # convert the markdown from stdin into html | ||||||
| # | # | ||||||
| md2html () { | md2html () { | ||||||
| 
 |  | ||||||
|     # the order of these somewhat matters |     # the order of these somewhat matters | ||||||
|             _pre_strip \ |             _pre_strip \ | ||||||
|             | _code \ |             | _code \ | ||||||
|  | @ -414,10 +414,6 @@ md2html () { | ||||||
|             | _h 1 \ |             | _h 1 \ | ||||||
|             | _squash \ |             | _squash \ | ||||||
|             | _html |             | _html | ||||||
| 			 |  | ||||||
| 			cat > /dev/null << EOF |  | ||||||
| EOF |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| md2html | md2html | ||||||
| 
 |  | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue