hey <@U02NK3U2Y65>, I'm starting to look at PR'ing...
# dokka
s
hey @Ignat Beresnev, I'm starting to look at PR'ing some of the changes I made in my two plugins I posted a while back, as well as some other changes to dokka The changes I'm looking to PR are: • basically anything in the style tweaks plugin • quite a few updates to prism.js: ◦ adding support for more than just the handful of languages dokka currently has support for. in order to do this, the additional languages are not all in the
prism.js
file, but instead all stored in a
components
directory. then, the autoloader prism.js plugin is used to load them on-demand. this change adds like 300-odd minified
.js
files to
plugin-base
. (haven't measured the total additional size, but each file is around 1-2kb in size) ◦ add the following plugins: ▪︎
match-braces
(if you hover over a brace it shows you the matching one) ▪︎
diff-highlight
(allows highlighting off diff plus another language (replace ````language` with ````diff-language` at the start of the code block) ▪︎
normalize-whitespace
▪︎ previously mentioned
autoloader
▪︎
show-language
+
toolbar
. shows the language of the codeblock in the corner where the copy button is.
toolbar
is a dependency of
show-language
• some additional markdown features (these would be done last and are mostly "to be done eventually", I'm doing the others first) ◦ add support for content tabs. I currently have some js that can do this if you wrap some of your things in html, however I need to add a parser for intellij-markdown. I have not settled on a syntax, so if you have any suggestions on syntax for this that would be nice. (some examples of syntax are: mkdocs, R markdown) ◦ task lists (item lists with
- [x]
or
- [ ]
) ◦ references/footnotes ◦ superscript ◦ possibly: typography (see: flexmark-java) ◦ possibly: admonitions would these all mostly be accepted or are there ones I should not bother with?
I've opened PRs for the style tweaks as well as the prism.js changes: • style tweaks: #3745 • prism.js changes: #3746 if I could get some feedback on either of those, that would be great
also @Oleg Yukhnevich if you'd like we could also discuss the changes here rather than in github issues as a platform like slack is slightly better for reply-response style discussion than github issues