This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# md-to-html.sh | |
# Script to create web page from markdown file using Pandoc | |
read -e -p "Enter filename: " mdFile | |
tmpFile=`cat $mdFile` | |
echo "$tmpFile" > forPandoc.txt | |
title="${mdFile%.*}" | |
echo "<html> | |
<head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%% This document is made available under a Creative %% | |
%% Commons Attribution 4.0 International License, which %% | |
%% means that you can copy and redistribute the material %% | |
%% in any medium or format; remix, transform, and build upon %% | |
%% the material for any purpose, even commercially; as %% | |
%% long as you give appropriate credit, provide a link to %% | |
%% the license, and indicate if changes were made. You may %% | |
%% do so in any reasonable manner but not in any way that %% | |
%% suggests the licensor endorses you or your use. See %% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%% This document is made available under a Creative %% | |
%% Commons Attribution 4.0 International License, which %% | |
%% means that you can copy and redistribute the material %% | |
%% in any medium or format; remix, transform, and build upon %% | |
%% the material for any purpose, even commercially; as %% | |
%% long as you give appropriate credit, provide a link to %% | |
%% the license, and indicate if changes were made. You may %% | |
%% do so in any reasonable manner but not in any way that %% | |
%% suggests the licensor endorses you or your use. See %% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%% This document is made available under a Creative %% | |
%% Commons Attribution 4.0 International License, which %% | |
%% means that you can copy and redistribute the material %% | |
%% in any medium or format; remix, transform, and build upon %% | |
%% the material for any purpose, even commercially; as %% | |
%% long as you give appropriate credit, provide a link to %% | |
%% the license, and indicate if changes were made. You may %% | |
%% do so in any reasonable manner but not in any way that %% | |
%% suggests the licensor endorses you or your use. See %% |