Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Markdown formatting in more instance information sections #3368

Closed
rennerocha opened this issue Nov 26, 2020 · 1 comment · Fixed by #3371
Closed

Allow Markdown formatting in more instance information sections #3368

rennerocha opened this issue Nov 26, 2020 · 1 comment · Fixed by #3371

Comments

@rennerocha
Copy link
Contributor

Improve how some instance information can be provided.

The following sections accept Markdown, so we add create lists and links that will make them appear nice in "About" of your instance:

  • Description
  • Terms
  • Code of conduct
  • Moderation information
  • Who is behind the instance?

However, the following sections accepts only plain text:

  • Why did you create this instance?
  • How long do you plan to maintain this instance?
  • How will you finance the PeerTube server?
  • What server/hardware does the instance run on?

Specially for "How will you finance the PeerTube server?" it would be interesting to be able to add some Markdown formatting, so for example, we can create a list of links where the user can know how to donate money to the instance.

It will look much better to show this:

Donate using:

Than this:

Donate using:
Paypal - http://example.com?accoutn=AJHKKJFDLKJFGD
Liberapay - http://example.com?someweirdinfo=ABCHGFDJKHLKFDSA

@Poslovitch
Copy link
Contributor

Working on it.

Poslovitch added a commit to Poslovitch/PeerTube that referenced this issue Nov 27, 2020
Chocobozzz pushed a commit that referenced this issue Nov 30, 2020
* Added Markdown formatting in all the fields of the "About" page

Fixes #3368

* Fixed compilation error in AboutInstanceComponent

Moved creationReason, maintenanceLifetime and businessModel into the html dict

* Removed textareaHeight for all md textareas in EditCustomConfig HTML

* Fixed failing bundlewatch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants