-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE]: Convert Arrowhead text formatting tags to standard HTML tags. #55
Comments
Agreed. That's why I think we should not convert them to other tags. If it is decided to keep them, clients can decide for themselves how to deal with the tags, depending on their usecase. This is simple string processing and has nothing to do with the API directly, so in my eyes, your suggestion should not be scope of this repository, but rather of clients using it. |
I wouldn't necessarily strip them as we'd 'lose' data that way. As a compromise, instead of compiling it to |
Ladies and gentlemen. I present to you: HDML - Helldivers Markup Language. These are the tags that have previously been used by AHG thus far: Besides that, I've come across a few other tags that we are yet to see while looking through the subtitle dump posted by Chats I've found this line which makes me suspect that I've also found a tag with this syntax: And lastly, theres the When I added support for HDML in Helldivers Companion, I just replaced Hope this helps :) |
What problem does it solve
Arrowhead uses seemingly arbitrary text formatting system that isn't compatible with most (if any) applications.
What is the solution
Convert Arrowhead's formatting tags from their endpoint to standard HTML tags.
Existing alternatives
Manually converting tags in each application.
Added value
Would simplify text formatting for applications using the API, rather than having to convert the tags each time.
Additional notes
Although I'm unsure how exactly they use their tags, for the dispatches the headline is tagged with <i=3></i> which seems to be either a bold or header tag, while <i=1></i> makes text bold and yellow colored. Not sure the best way to interpret and convert them.
I have yet to see what <i=2></i> does if it exists.
The text was updated successfully, but these errors were encountered: