Codeberg/Community
54
325
Fork
You've already forked Community
12

Add support for some Markdown stuff #830

Open
opened 2022年12月11日 02:37:58 +01:00 by HexagonCDN · 7 comments
  1. https://github.com/github/markup/issues/1440#issuecomment-1205919681 Add support for > __Note__ and > __Warning__ on Codeberg. It's not that much important so low priority. And feel free to not add.

  2. That same issue is asking for colored text. It's more important to be taken into consideration. I think we should make two light & dark color paletes that are colorblind-friendly to color text.

(削除) 3. (削除ここまで) (削除) Add support for having a colored square with that hex code on the left to a hex code in a code bracket. An example: image. In the example, it is a circle on the right though. Useful for issues discussing color design. (削除ここまで)
#830 (comment)

(削除) 4. (削除ここまで) (削除) https://github.com/github/markup/issues/1440#issuecomment-803889380 Add support for displaying colors on: (削除ここまで) #830 (comment)

```diff
+ Green
- Red
! Orange
@@ Pink @@
# Gray
```
  1. Add support for superscript. Example:
X^2^

would be

X<sup>2</sup>

and the rendered output would look like this:
X2

1. https://github.com/github/markup/issues/1440#issuecomment-1205919681 Add support for `> __Note__` and `> __Warning__` on Codeberg. It's not that much important so low priority. And feel free to not add. 2. That same issue is asking for colored text. It's more important to be taken into consideration. I think we should make two light & dark color paletes that are **colorblind-friendly** to color text. ~~3.~~ ~~Add support for having a colored square with that hex code on the left to a hex code in a `code bracket`. An example: ![image](/attachments/069fe8ec-b6e4-4d21-89bc-5ce58e5f1165). In the example, it is a circle on the right though. Useful for issues discussing color design.~~ https://codeberg.org/Codeberg/Community/issues/830#issuecomment-722180 ~~4.~~ ~~https://github.com/github/markup/issues/1440#issuecomment-803889380 Add support for displaying colors on:~~ https://codeberg.org/Codeberg/Community/issues/830#issuecomment-830892 ````diff ```diff + Green - Red ! Orange @@ Pink @@ # Gray ``` ```` 5. Add support for superscript. Example: ``` X^2^ ``` would be ``` X<sup>2</sup> ``` and the rendered output would look like this: X<sup>2</sup>
  1. Add support for having a colored square with that hex code on the left to a hex code in a code bracket. An example: image. In the example, it is a circle on the right though. Useful for issues discussing color design.

This has alredy been added to Gitea and will be included in the next release

> 3. Add support for having a colored square with that hex code on the left to a hex code in a `code bracket`. An example: ![image](/attachments/069fe8ec-b6e4-4d21-89bc-5ce58e5f1165). In the example, it is a circle on the right though. Useful for issues discussing color design. This has [alredy been added to Gitea](https://github.com/go-gitea/gitea/pull/21474) and will be included in the next release

As Codeberg has updated this works now, but you have to put it in a code. Test: #FFD700

As Codeberg has updated this works now, but you have to put it in a code. Test: `#FFD700`
+ Green
- Red
! Orange
@@ Pink @@
# Gray

I've got the colors. But it's not exactly same.

```diff + Green - Red ! Orange @@ Pink @@ # Gray ``` I've got the colors. But it's not exactly same.

(削除) I might post an issue on https://github.com/alecthomas/chroma to request adding gray color. (削除ここまで)
Or I probably won't bother because I'm busy ?

Example:

```bash
git clone https://github.com/nesaku/BiblioReads.git
cd BiblioReads
# then
npm install
npm run dev
# or
yarn install
yarn dev
```
~~I might post an issue on https://github.com/alecthomas/chroma to request adding gray color.~~ Or I probably won't bother because I'm busy **?** Example: ````bash ```bash git clone https://github.com/nesaku/BiblioReads.git cd BiblioReads # then npm install npm run dev # or yarn install yarn dev ``` ````

(削除) I might post an issue on https://github.com/alecthomas/chroma to request adding gray color. (削除ここまで)

Now looking back at this, I think I should open an issue suggesting. But I don't know what themes do Codeberg use. In the playground, there're lots of themes. And I don't want to do trials and errors.
image

> ~~I might post an issue on https://github.com/alecthomas/chroma to request adding gray color.~~ Now looking back at this, I think I should open an issue suggesting. But I don't know what themes do Codeberg use. In the playground, there're lots of themes. And I don't want to do trials and errors. ![image](/attachments/673126a8-7cd5-46dd-b381-4dd29cd9c387)

And I don't want to do trials and errors.

We do not see ourselves adding Codeberg-specific themes if there aren't any people willing to support them on our Forgejo tree in the near future, sorry. And I say that as a person that loves Catppuccin.

> And I don't want to do trials and errors. We do not see ourselves adding Codeberg-specific themes if there aren't any people willing to support them on our Forgejo tree in the near future, sorry. And I say that as a person that loves Catppuccin.

We do not see ourselves adding Codeberg-specific themes

So what code highlight theme does Codeberg use?

And I don't want to do trials and errors.

Just to clarify, it means that I don't want to brute force, check every single theme.

> We do not see ourselves adding Codeberg-specific themes So what code highlight theme does Codeberg use? > And I don't want to do trials and errors. Just to clarify, it means that I don't want to brute force, check every single theme.
Sign in to join this conversation.
No Branch/Tag specified
main
No results found.
Labels
Clear labels
accessibility

Reduces accessibility and is thus a "bug" for certain user groups on Codeberg.
bug

Something is not working the way it should. Does not concern outages.
bug
infrastructure

Errors evidently caused by infrastructure malfunctions or outages
Codeberg

This issue involves Codeberg's downstream modifications and settings and/or Codeberg's structures.
contributions welcome

Please join the discussion and consider contributing a PR!
docs

No bug, but an improvement to the docs or UI description will help
duplicate

This issue or pull request already exists
enhancement

New feature
infrastructure

Involves changes to the server setups, use `bug/infrastructure` for infrastructure-related user errors.
legal

An issue directly involving legal compliance
licence / ToS

involving questions about the ToS, especially licencing compliance
please chill
we are volunteers

Please consider editing your posts and remember that there is a human on the other side. We get that you are frustrated, but it's harder for us to help you this way.
public relations

Things related to Codeberg's external communication
question

More information is needed
question
user support

This issue contains a clearly stated problem. However, it is not clear whether we have to fix anything on Codeberg's end, but we're helping them fix it and/or find the cause.
s/Forgejo

Related to Forgejo. Please also check Forgejo's issue tracker.
s/Forgejo/migration

Migration related issues in Forgejo
s/Pages

Issues related to the Codeberg Pages feature
s/Weblate

Issue is related to the Weblate instance at https://translate.codeberg.org
s/Woodpecker

Woodpecker CI related issue
security

involves improvements to the sites security
service

Add a new service to the Codeberg ecosystem (instead of implementing into Gitea)
upstream

An open issue or pull request to an upstream repository to fix this issue (partially or completely) exists (i.e. Gitea, Forgejo, etc.)
wontfix

Codeberg's current set of contributors are not planning to spend time on delegating this issue.
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Codeberg/Community#830
Reference in a new issue
Codeberg/Community
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?