generator md: Capture output of markdown
This commit is contained in:
		
							
								
								
									
										4
									
								
								qsgen2
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								qsgen2
									
									
									
									
									
								
							@@ -156,7 +156,9 @@ elif [[ ${generator} == "markdown" ]]; then
 | 
				
			|||||||
          local command="/usr/bin/markdown"
 | 
					          local command="/usr/bin/markdown"
 | 
				
			||||||
          local c-opts="-d -n -s"
 | 
					          local c-opts="-d -n -s"
 | 
				
			||||||
          
 | 
					          
 | 
				
			||||||
          command c-opts "${1}" > "${1}"
 | 
					          local buffer=$(< <($(command) $c-opts "$1"))
 | 
				
			||||||
 | 
					          
 | 
				
			||||||
 | 
					          echo "${buffer}"
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        export file_ext=md
 | 
					        export file_ext=md
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user