To correctly clone the repo, you need to clone the submodules as well:
git clone --recurse-submodules <URL>This is a containerized version of a node.js server that serves markdown files as HTML. The server is based on the express framework and uses the marked library to parse the markdown files. The server is expected to visualize markdown, PDFs and images.
docker build -t mfe-markdown-http-* .docker run -d -p 3000:3000 -v '/path/to/files:/app/files' mfe-markdown-http-*For custom builds:
services:
web:
build: .
environment:
- USER=${USER}
- HASHED_PASSWORD=${HASHED_PASSWORD}
volumes:
- ./files:/app/files
ports:
- "3000:3000"Or use prebuilt images:
services:
web:
image: mfe-markdown-http-x86:latest
environment:
- USER=${USER}
- HASHED_PASSWORD=${HASHED_PASSWORD}
volumes:
- ./files:/app/files
ports:
- "3000:3000"services:
web:
image: mfe-markdown-http-arm:latest
environment:
- USER=${USER}
- HASHED_PASSWORD=${HASHED_PASSWORD}
volumes:
- ./files:/app/files
ports:
- "3000:3000"- Write example for
docker runanddocker-compose - Add support for images
- Handle better the LaTeX rendering
- Implement link substitution:
- Many note-taking systems (e.g. Obsidian) use a special syntax for links that is not supported by
marked. Implement a way to substitute these links with the correct ones.
- Many note-taking systems (e.g. Obsidian) use a special syntax for links that is not supported by