A markdown presentation viewer for OpenCloud and oCIS using the reveal.js library.
It allows users to:
- create slide presentations directly from markdown files
- share the slides using public links
- Demonstation page OpenCloud
- Demonstation page oCIS
- Click on
Open in Presentation Viewerto view the slides
-
Download the zip file from the releases page
For example:
mdpresentation-viewer-<server>-x.x.x.zip -
Extract the zip file to the
appsdirectory of the OpenCloud/oCIS server.Apps directory is set using the
WEB_ASSET_APPS_PATHenvironment variable.
App Installation With OpenCloud or oCIS Deployment
- Copy the
ymlfile that corresponds with your server (OpenCloud or oCIS) fromdeployments/into theweb_extensionssubfolder. - Add
MDPRESENTATION_VIEWER=:web_extensions/mdpresentation-viewer-<your-server>.ymlto theWeb Extensionssection of the.envfile of your installation and append it to theCOMPOSE_FILEvariable.MDPRESENTATION_VIEWER=:web_extensions/mdpresentation-viewer-<your-server>.yml COMPOSE_FILE=docker-compose.yml${...}${MDPRESENTATION_VIEWER:-}
- Run
docker compose upto run the server with the extensions
Please, refer to the documentation for more information about creating a presentation using markdown.
This app has the following default slide separators:
- Horizontal separator:
---(← →) - Vertical separator:
--(↓ ↑)
[!IMPORTANT] When switching between OpenCloud and oCIS, make sure to clean the browser cache! [!CAUTION] Before commiting changes run
make installOcisandmake clean
For OpenCloud:
make installOpencloudFor oCIS:
make installOcisFor development, build with watch.
pnpm build:wRun the server with the extension:
For OpenCloud:
docker compose -f docker-compose-opencloud.yml upFor oCIS:
docker compose -f docker-compose-ocis.yml upserver URL: localhost:9200
For oCIS:
pnpm run test:e2e <path_to_feature_file>For OpenCloud:
TARGET_SERVER=opencloud pnpm run test:e2e <path_to_feature_file>For OpenCloud:
docker build --build-arg server=Opencloud -t jankaritech/mdpresentation-viewer-opencloud:<version> .For Ocis:
docker build --build-arg server=Ocis -t jankaritech/mdpresentation-viewer-ocis:<version> .