Open jdel opened 7 years ago
So, I have just done a test with this. It looks like the syno is stripping line breaks and encoding special characters.
I haven't managed to insert line breaks in the description field, which results in a pretty bad looking debug output in the package center.
I have tried both \n
and <br />
with no success so far.
Anyone interested, it has been implemented in gosspks. Still ugly but i can't do much better without line breaks.
You can see the debug package in your synology package center by adding my dev repo here: https://packages-dev.fkn.ninja/
Unfortunately, I couldn't find any package with a line break from the entiere JSON output of the official syno repo (for my arch: cedarview) so I just gave up trying.
Pipes with lots of spaces are a good idea indeed. However, generating markdown code would be pretty useless because it cannot be copied and pasted. The package center doesn't allow you to select the description to copy it (at least on chrome).
I will do some tests at some point, but I cannot insert non breaking spaces either.
Might need to have a look at using weird unicode characters ?
Sorted, by simply using unicode line breaks ! https://github.com/jdel/gosspks/commit/accd9e1
I will try to port this to sspks when I have some time.
Implement a dummy debug package that will output debug information directly in the Syno UI as the package description.
Conditions to trigger that package to show:
beta
so it is not shown tostable
channel users.Data that could be in the description: full HTTP request (headers, url, vars...)