Coder Social home page Coder Social logo

Comments (7)

jiriks74 avatar jiriks74 commented on September 21, 2024 1

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:

image

Looking at what Gitea uses and getting that stylesheet would work well with Opengists design, IMHO:

image

from opengist.

jiriks74 avatar jiriks74 commented on September 21, 2024

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.

jiriks74 avatar jiriks74 commented on September 21, 2024

I added a comment to an existing discussion about this.

from opengist.

thomiceli avatar thomiceli commented on September 21, 2024

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.

thomiceli avatar thomiceli commented on September 21, 2024

https://github.com/stefanfritsch/goldmark-admonitions

But it does not look good

from opengist.

jiriks74 avatar jiriks74 commented on September 21, 2024

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.

jiriks74 avatar jiriks74 commented on September 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.