w3champions / launcher

This is the launcher for w3champions. It includes the needed flo hostbot executables.
32 stars 18 forks source link

Add displaying news in html or md. #80

Closed aaronjewell closed 3 years ago

aaronjewell commented 3 years ago

It would be helpful to allow the launcher to understand and display both md and html news items. To accomplish this, we display the raw html of the news item if it begins and ends with opening/closing tag characters respectively. Otherwise it defaults to displaying markdown. If no news items, or none selected, default to empty string.

aaronjewell commented 3 years ago

@modmoto - Hasn't been fully tested yet. Missing access to the assets repo in order to do a local build. Code is pretty straight-forward though.

modmoto commented 3 years ago

i just added you as full dev, should be able to see and write everything =)

aaronjewell commented 3 years ago

Great! Build worked perfectly and tried using local html data, and prod markdown data, and both showed correctly.

html-news-launcher

local-news-html

aaronjewell commented 3 years ago

Moving over to #82 - So that the build will work correctly.