Closed merowin closed 1 month ago
I don't understand why the pipeline has an error, to be honest.
I don't understand why the pipeline has an error, to be honest.
I think there are some HTML issues:
I don't understand why the pipeline has an error, to be honest.
I think there are some HTML issues:
* p is a "self-closing" tag * ul/li not allowed in p
Thank you, I did not know that.
I like the idea! One idea (that doesn't necessarily need to be implemented in this PR):
Would be nice if the content were not tied to Vue since it's static, and not using Vue's reactivity. Ideally it would be some raw HTML (or better yet, Markdown), and then we could store it in shared/
and add it to the variant_map
, instead of creating a separate map in RulesView
.
Would be nice if the content were not tied to Vue since it's static, and not using Vue's reactivity. Ideally it would be some raw HTML (or better yet, Markdown), and then we could store it in
shared/
and add it to thevariant_map
, instead of creating a separate map inRulesView
.
I moved the html content into shared as a string and "inject" it with vue-html
. This way we can use variant_map, unfortunately the html highlighting / auto-completion is lost.
unfortunately the html highlighting / auto-completion is lost.
Because it's a TypeScript file. It could also be an HTML file, but that would make importing it more complicated.
Yeah, the lack of highlighting is a bummer. As @JonKo314 said, we could push it into an html file, and get html IDE support. On the other hand, this could be a reason to use Markdown - it's easy to read and write even without IDE support.
I don't know how to render the markdown, but in theory it sounds good.
I figured it would be good to add a rule description page.
issue: #112
Adds a new view for variant rule descriptions, alongside the rules of fractional.