GithubHelp home page GithubHelp logo

Comments (15)

victorbnl avatar victorbnl commented on August 31, 2024 1

Okay thanks, maybe I'll try to do something

from inventory-profiles.

victorbnl avatar victorbnl commented on August 31, 2024 1

What do you think of that?

https://gist.github.com/victorbnl/2215168582439b7a31b4b6697fd45623

I'll convert it to HTML and add some style later

Of course, the image is a placeholder one, I'll also make a cool picture representing the before/after of the sorting

EDIT : In the gist there are now both the source markdown and the html, if you want to view the HTML file, click on "Raw", do CTRL+S and open the downloaded file in your browser

from inventory-profiles.

Tygoar avatar Tygoar commented on August 31, 2024

What is it you want doing to the curseforge page exactly?

from inventory-profiles.

blackd avatar blackd commented on August 31, 2024

Add

  • description
  • screenshots
  • better contacts issue reporting section
  • thanks to the original author

stuff like that

from inventory-profiles.

victorbnl avatar victorbnl commented on August 31, 2024

How can we do it? Where to edit it? What format is it? HTML? MarkDown?

from inventory-profiles.

blackd avatar blackd commented on August 31, 2024

It's html here is the source https://gist.github.com/blackd/60c5cc3d5790554b164201c9bce11001

from inventory-profiles.

victorbnl avatar victorbnl commented on August 31, 2024

Is it allowed on Curseforge to put the style apart in a <style>?

from inventory-profiles.

blackd avatar blackd commented on August 31, 2024

Nope, it gets removed.

from inventory-profiles.

victorbnl avatar victorbnl commented on August 31, 2024

And to explain a bit how this all works, I made a little bit of code, I have these files :

  • source.md
  • style.css
  • build.py

As you may have guessed, you build the document using build.py

The source.md is converted to HTML by pandoc (actually pypandoc, which is a python wrapper for pandoc)

And the style.css is put in the HTML as inline attributes by premailer

Also source.md uses no special syntax or anything, only Markdown and HTML, so you can use it wherever you want, for example Github. Of course you could loose the centered things and the colors but it won't break anything

from inventory-profiles.

victorbnl avatar victorbnl commented on August 31, 2024

When you'll think it will be finished I'll send you a .zip with all these files, so that you can make a new repo or branch if you want, or just in case you want to edit some things

from inventory-profiles.

blackd avatar blackd commented on August 31, 2024

You know what why don't you clone this repository add /description folder and put the sources and the build script there and make a pull request

from inventory-profiles.

victorbnl avatar victorbnl commented on August 31, 2024

No problem I'll do that, good idea!

from inventory-profiles.

victorbnl avatar victorbnl commented on August 31, 2024

So as you may have seen I made the PR!

from inventory-profiles.

blackd avatar blackd commented on August 31, 2024

I guess bb36707 is the best we can do :) given curseforge limitations

from inventory-profiles.

victorbnl avatar victorbnl commented on August 31, 2024

Yep, it's already much better!

from inventory-profiles.

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.