Skip to main content

Logo HedgeDoc

About​

HedgeDoc is the best platform to write and share markdown.

Impending rename

CodiMD is being renamed to HedgeDoc. This app package will be renamed accordingly.

Custom configuration​

Place custom configuration under /app/data/config.json using the File manager.

See HedgeDoc docs for configuration options reference.

Image uploads​

By default, images are uploaded to the data directory of the app itself. To switch to another provider like MinIO, first configure minio to image uploads. Then, use the following configuration in /app/data/config.json:

config.json
    "imageUploadType": "minio",
"s3bucket": "codimd-images",
"minio": {
"accessKey": "MINIO_ACCESS_KEY",
"secretKey": "MINIO_SECRET_KEY",
"endPoint": "minio.cloudrondomain.com",
"secure": true,
"port": 443
}

CLI tool​

The CLI tool bin/manage_users can be used to manage users. Open a Web Terminal:

Bash
export CMD_DB_URL="${CLOUDRON_POSTGRESQL_URL}"
/app/code# bin/manage_users
Example Output
You did not specify either --add or --del or --reset!

Command-line utility to create users for email-signin.

Usage: bin/manage_users [--pass password] (--add | --del) user-email
Options:
--add Add user with the specified user-email
--del Delete user with specified user-email
--reset Reset user password with specified user-email
--pass Use password from cmdline rather than prompting