Content database for in-menu installer - add your things!

User avatar
texmex
Member
Posts: 1751
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex

Re: Content database for in-menu installer - add your things

by texmex » Post

Very good addition, the missing link for mod devs I’d even argue. IIRC Gitea and Gogs should automatically be supported because of their API compatibility with Github.
Mods | Support Mesehub: bc1qluuests9rxmlnvpjrhsnyjg9ucwy6z3r0y3srw

User avatar
rubenwardy
Moderator
Posts: 6107
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: United Kingdom
Contact:

Re: Content database for in-menu installer - add your things

by rubenwardy » Post

texmex wrote:IIRC Gitea and Gogs should automatically be supported because of their API compatibility with Github.
ooh, this is good. I'll have to check this and then update the documentation

User avatar
PolySaken
Member
Posts: 552
Joined: Thu Nov 09, 2017 05:18
GitHub: PolySaken-I-Am
In-game: PolySaken
Location: djelibabi
Contact:

Re: Content database for in-menu installer - add your things

by PolySaken » Post

Sick! one of the best new features IMO

User avatar
sorcerykid
Member
Posts: 1288
Joined: Fri Aug 26, 2016 15:36
GitHub: sorcerykid
In-game: Nemo
Location: Illinois, USA

Re: Content database for in-menu installer - add your things

by sorcerykid » Post

There is a bug in the markdown editor where you cannot insert single newlines.

As a result, it's impossible to add text directly below other text, except as a new paragraph (or otherwise to resort to lists). I've tested with other markdown editors online, and they do not exhibit this limitation.

User avatar
rubenwardy
Moderator
Posts: 6107
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: United Kingdom
Contact:

Re: Content database for in-menu installer - add your things

by rubenwardy » Post

sorcerykid wrote:There is a bug in the markdown editor where you cannot insert single newlines.

As a result, it's impossible to add text directly below other text, except as a new paragraph (or otherwise to resort to lists). I've tested with other markdown editors online, and they do not exhibit this limitation.
This is not a bug but standard behaviour; Markdown ignores single newlines. To make a new paragraph, two new lines are used - as you know. To make a new line (ie: br), you end a line with two spaces

https://daringfireball.net/projects/markdown/syntax#p

User avatar
Linuxdirk
Member
Posts: 2517
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: Content database for in-menu installer - add your things

by Linuxdirk » Post

sorcerykid wrote:There is a bug in the markdown editor where you cannot insert single newlines.
Append two spaces after your first line. It’s in the markdown standard.

https://daringfireball.net/projects/markdown/syntax#p

User avatar
sorcerykid
Member
Posts: 1288
Joined: Fri Aug 26, 2016 15:36
GitHub: sorcerykid
In-game: Nemo
Location: Illinois, USA

Re: Content database for in-menu installer - add your things

by sorcerykid » Post

Thanks for the heads up.
It’s in the markdown standard.
Strange, the three leading markdown editors online (StackEdit, Dillinger, and Editor.md) all accept ordinary line-breaks. So it's not a standard, only a recommendation by the inventor whose philosophy is clearly not enforced.

User avatar
rubenwardy
Moderator
Posts: 6107
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: United Kingdom
Contact:

Re: Content database for in-menu installer - add your things

by rubenwardy » Post

Markdown is intentionally informally specified and not standardised. This results in discrepencies depending on the implementation you use

User avatar
Linuxdirk
Member
Posts: 2517
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: Content database for in-menu installer - add your things

by Linuxdirk » Post

rubenwardy wrote:Markdown is intentionally informally specified and not standardised. This results in discrepencies depending on the implementation you use
I’d always go with the original description by Gruber/Swartz that was (accidentally) pointed out twice. To me this definition should be seen as de-facto standard and everything else is just extensions. It was unambiguously stated that "When you do want to insert a <br /> break tag using Markdown, you end a line with two or more spaces, then type return.".

If editors allow single linebreaks without explicitly marking it with two spaces then it is a change/addition of Markdown as intended and should not be seen as “standard”.

But I’m biased since I once wrote a fully compatible markdown parser from scratch as a project. :)

User avatar
PolySaken
Member
Posts: 552
Joined: Thu Nov 09, 2017 05:18
GitHub: PolySaken-I-Am
In-game: PolySaken
Location: djelibabi
Contact:

Re: Content database for in-menu installer - add your things

by PolySaken » Post

Afaik that is indeed intended behaviour but markdown is quite flexible and should be implemented however the user sees fit.

User avatar
DrFrankenstone
Member
Posts: 157
Joined: Tue May 24, 2016 05:36
GitHub: treer
Location: Melbourne, Australia
Contact:

Re: Content database for in-menu installer - add your things

by DrFrankenstone » Post

I recall that linking to the forum topics of another mod was not desired/allowed in ContentDB descriptions, but I can't find that comment or any related guidance beyond "no promotions, advertisements, or asking for donations". I assumed it was because forum links were inappropriate for the Minetest in-game Content browser, but that doesn't display the long descriptions.

What's the guidance for links in the long description? Am I misremembering?

User avatar
rubenwardy
Moderator
Posts: 6107
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: United Kingdom
Contact:

Re: Content database for in-menu installer - add your things

by rubenwardy » Post

There's no rule against it, however, it should probably be avoided in preference of linking to the ContentDB page. This is because keeping the user inside ContentDB is good for UX, and they can find the forum from the listing anyway

Obviously, you may find exceptions to this - for example, if you want users to read or comment on the forum topic

cHyper-0815OL
Member
Posts: 70
Joined: Fri Sep 13, 2019 17:40
GitHub: cHyper-0815OL
In-game: cHyper cHyper-0815OL
Location: Austria
Contact:

Re: Content database for in-menu installer - add your things

by cHyper-0815OL » Post

how can i change the e-mail-address for the user, there is currently a error message for CDB?

User avatar
DrFrankenstone
Member
Posts: 157
Joined: Tue May 24, 2016 05:36
GitHub: treer
Location: Melbourne, Australia
Contact:

Re: Content database for in-menu installer - add your things

by DrFrankenstone » Post

Thanks, and yeah - I only feel the need to link to forum topics if it has no contentDB page to link to.

User avatar
rubenwardy
Moderator
Posts: 6107
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: United Kingdom
Contact:

Re: Content database for in-menu installer - add your things!

by rubenwardy » Post

I've split the conversation about non-free licenses on ContentDB into a new topic: viewtopic.php?f=5&t=24785

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest