IceWhaleTech / CasaOS

CasaOS - A simple, easy-to-use, elegant open-source Personal Cloud system.
https://casaos.io
Apache License 2.0
23.55k stars 1.27k forks source link

[Feature Request] Markdown support in AppStore UI #1383

Open mr-manuel opened 10 months ago

mr-manuel commented 10 months ago

Describe the bug Markdown is only rendered for x-casaos.tips.before_install but not for x-casaos.description.* and x-casaos.tagline.*.

To Reproduce Steps to reproduce the behavior:

  1. Add markdown to the docker-compose.yml
  2. Check how it gets rendered

Expected behavior Markdown should be rendered.

Screenshots grafik

Additional context Relevant part of docker-compose.yml

...
x-casaos:
  architectures:
    - amd64
    - arm64
    - arm
  author: mr-manuel
  category: Network
  description:
    en_us: |
      Traefik allows you to access multiple containers on the same IP via port HTTP/HTTP and hostnames. Since Traefik reads the Docker containers it automatically searches for an open port and makes it available.

      By default Traefik will use port `81` for `HTTP`, port `443` for `HTTPS` and port `8080` for the dashboard. If you want to use port `80` for `HTTP`, then you have first to change the WebUI port of CasaOS first under the settings in the top left menu. After deploying the container you can change the port mapping from `81` to `80`.

      Visit [Traefik Labs](https://traefik.io) for more details. Check the [documentation](https://doc.traefik.io/traefik/) for further settings.

      🚨 Note: This app will always be upgraded to the latest version. If you want to stay on Traefik `1.x` or `2.x` install `Traefik v1` or `Traefik v2`.
  developer: Traefik Labs
  icon: https://raw.githubusercontent.com/mr-manuel/CasaOS-HomeAutomation-AppStore/latest/Apps/Traefik/icon.png
  index: /dashboard/
  main: traefik
  port_map: "8080"
  project_url: https://github.com/mr-manuel/CasaOS-HomeAutomation-AppStore
  store_app_id: traefik
  tagline:
    en_us: |
      Traefik is the leading open-source reverse proxy and load balancer for HTTP and TCP-based applications that is easy, dynamic and full-featured.
  thumbnail: https://raw.githubusercontent.com/mr-manuel/CasaOS-HomeAutomation-AppStore/latest/Apps/Traefik/icon.png
  tips:
    before_install:
      en_us: |
        By default Traefik will use port `81` for `HTTP`, port `443` for `HTTPS` and port `8080` for the dashboard. If you want to use port `80` for `HTTP`, then you have first to change the WebUI port of CasaOS first under the settings in the top left menu. After deploying the container you can change the port mapping from `81` to `80`.

        Visit [Traefik Labs](https://traefik.io) for more details. Check the [documentation](https://doc.traefik.io/traefik/) for further settings.
  title:
    en_us: Traefik
mr-manuel commented 10 months ago

Is this the right repository for this type of bug?