Comments (7)
https://github.com/stefanfritsch/goldmark-admonitions
But it does not look good
Oof, that looks painful and wouldn't look right on Opengist.
But AFAIK you should be adding your own stylesheet for this anyway:
Looking at what Gitea uses and getting that stylesheet would work well with Opengists design, IMHO:
from opengist.
I see that this issue should be up on yuin/goldmark. I will make an issue there but leave this one open until the dependencies get updated if that's ok with you.
from opengist.
I added a comment to an existing discussion about this.
from opengist.
I do believe it's doable either by making a goldmark extension (clean way) or parse the markdown a second time in Opengist to add html for those blocks (dirty way)
from opengist.
https://github.com/stefanfritsch/goldmark-admonitions
But it does not look good
from opengist.
Also this function could be modified to detect Github's syntax, if I'm reading it right (I've never used Go).
There is an existing issue to add Github's syntax but it's for the old one. I've added a comment that the syntax has been updated and we can see whether the developer responds.
from opengist.
I'm just adding a link to Github's documentation on this; https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts
from opengist.
Related Issues (20)
- [Feature request]: Custom links in main address bar
- [BUG]: Markdown preview button missing when editing a gist HOT 3
- Option to hide revisions for public gists + group gists by folders
- Restrict login and registration to OIDC HOT 2
- Opengist Container Shutdown Randomly After update to version v1.7.2 HOT 3
- Rich Text Format HOT 1
- Wrong visibility interaction when RequireLogin = true HOT 2
- Copy to clipboard fails silently with macOS Safari when served remotely via http (not https) HOT 1
- It is recommended to add AI support HOT 2
- Demo HOT 2
- 可以指定用户有修改其他人代码的权限吗?或者允许用户自行创建用户组,可以互相修改代码,保留历史记录。 HOT 1
- Traefik Reverse Proxy & SSH HOT 3
- how to change the page? HOT 1
- export repos HOT 2
- server program will exit when i click the number beside the forks HOT 1
- Admin option to use shorter UUIDs HOT 1
- when run in the linux and docker , Chinese garbled characters HOT 1
- Allow to delete files again after adding them HOT 2
- Using golang.org/x/text/cases.Caser.String concurrently may cause panic
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opengist.