Added flag to pandoc, to include lua filters
This commit is contained in:
		
							
								
								
									
										4
									
								
								build.sh
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								build.sh
									
									
									
									
									
								
							| @@ -128,8 +128,8 @@ md_to_html() { | ||||
| 		path_for_output="${BASE_PATH}/output/${path_for_output}" | ||||
| 		path_for_output="$(dirname $path_for_output)/$(basename $path_for_output .md).html" | ||||
|  | ||||
| #		Convert the file, and place the output in the correct location | ||||
| 		pandoc -f markdown --wrap=preserve $BASE_PATH/temp/`basename $file` > ${path_for_output} | ||||
| #		Convert the file (using the given filters), and place the output in the correct location | ||||
| 		pandoc  --lua-filter pandoc_filters/* -f markdown --wrap=preserve $BASE_PATH/temp/`basename $file` > ${path_for_output} | ||||
| 		rm $BASE_PATH/temp/* | ||||
|  | ||||
| 		add_header_and_footer $path_for_output # Uses 'meta_array' array | ||||
|   | ||||
		Reference in New Issue
	
	Block a user