merged with css/html replacements from notebook_converter.py