Giter Club home page Giter Club logo

Comments (7)

bojidar-bg avatar bojidar-bg commented on May 30, 2024

PHP has a PECL extension + PEAR package for BBCode - http://php.net/manual/en/book.bbcode.php

Given that it is possible to install PEAR packages through composer, I guess we might use it just fine ^^

from godot-asset-library.

akien-mga avatar akien-mga commented on May 30, 2024

Not blocking for beta.

from godot-asset-library.

Calinou avatar Calinou commented on May 30, 2024

This is supported in the asset library rewrite, which will become the new official platform sometime in the future. I don't have an ETA for deploying it though.

from godot-asset-library.

Qubus0 avatar Qubus0 commented on May 30, 2024

so, without the rewrite (Calinou/godot-asset-library-laravel#467), will it be supported in this asset lib, or only in the next full rewrite mentioned in that issue?

from godot-asset-library.

Calinou avatar Calinou commented on May 30, 2024

so, without the rewrite (Calinou/godot-asset-library-laravel#467), will it be supported in this asset lib, or only in the next full rewrite mentioned in that issue?

This could be supported in the current asset library, with two conditions:

  • We find someone who's willing to integrate a Markdown parsing library in the current backend. This will require a database migration, as you need a new field to store the rendered HTML (existing field would store the source text). This HTML field would probably not be returned by the API.
  • We implement Markdown to BBCode conversion in the editor (could also be exposed to projects with a static function in RichTextLabel).

from godot-asset-library.

Qubus0 avatar Qubus0 commented on May 30, 2024

Does it really need a backend parser? why not keep it in the frontend only with something like https://github.com/markedjs/marked?
And, as much as I would love md to bbcode - is it really necessary? I've seen quite a few assets use markdown (mostly when the description is just the readme) and it looks completely fine

from godot-asset-library.

Calinou avatar Calinou commented on May 30, 2024

Does it really need a backend parser? why not keep it in the frontend only with something like markedjs/marked?

It can be done with a client-side library, but it may feel sluggish on low-end/mobile devices.
While we may initially expect most descriptions to be short, many people will be copy-pasting their asset's entire README if we present them with an interface that allows them to do that 🙂

And, as much as I would love md to bbcode - is it really necessary? I've seen quite a few assets use markdown (mostly when the description is just the readme) and it looks completely fine

For users, Markdown source is awkward to read unformatted when it contains named links. The rest is usually not too bad though.

from godot-asset-library.

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.