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 Viewer
to 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
apps
directory of the OpenCloud/oCIS server.Apps directory is set using the
WEB_ASSET_APPS_PATH
environment variable.
App Installation With OpenCloud or oCIS Deployment
- Copy the
yml
file that corresponds with your server (OpenCloud or oCIS) fromdeployments/
into theweb_extensions
subfolder. - Add
MDPRESENTATION_VIEWER=:web_extensions/mdpresentation-viewer-<your-server>.yml
to theWeb Extensions
section of the.env
file of your installation and append it to theCOMPOSE_FILE
variable.MDPRESENTATION_VIEWER=:web_extensions/mdpresentation-viewer-<your-server>.yml COMPOSE_FILE=docker-compose.yml${...}${MDPRESENTATION_VIEWER:-}
- Run
docker compose up
to 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 installOcis
andmake clean
For OpenCloud:
make installOpencloud
For oCIS:
make installOcis
For development, build with watch.
pnpm build:w
Run the server with the extension:
For OpenCloud:
docker compose -f docker-compose-opencloud.yml up
For oCIS:
docker compose -f docker-compose-ocis.yml up
server 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> .