This file contains hidden or 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
<!-- Speak a word and I'll give you the spelling. Utilizes Web Speech API (Firefox not supported). --> | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Speech to Spelling</title> | |
<style> | |
body { | |
font-family: Arial, sans-serif; |
This file contains hidden or 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 | |
# Watches and converts MD to HTML as you save changes | |
if [ $# -lt 2 ] | |
then | |
echo "Usage: watchmd input.md output.htm" | |
exit 1 | |
fi | |
while true; do | |
change=$(inotifywait -e close_write,moved_to,create .) | |
change=${change#./ * } |