diff --git a/_includes/getting-started.md b/_includes/getting-started.md
index 491859f405..e05bacfcb9 100644
--- a/_includes/getting-started.md
+++ b/_includes/getting-started.md
@@ -1,5 +1,12 @@
The instructions below cover both Scala 2 and Scala 3.
+
+{% altDetails need-help-info-box 'Need Help?' class=help-info %}
+*If you are having trouble with setting up Scala, feel free to ask for help in the `#scala-users` channel of
+[our Discord](https://discord.com/invite/scala).*
+{% endaltDetails %}
+
+
## Try Scala without installing anything
To start experimenting with Scala right away, use “Scastie” in your browser.
diff --git a/_plugins/alt-details-lib/alt-details.rb b/_plugins/alt-details-lib/alt-details.rb
index 4ddbee64f4..f7bf5058a6 100644
--- a/_plugins/alt-details-lib/alt-details.rb
+++ b/_plugins/alt-details-lib/alt-details.rb
@@ -3,7 +3,7 @@
module Jekyll
module AltDetails
class AltDetailsBlock < Liquid::Block
- SYNTAX = /^\s*(#{Liquid::QuotedFragment})\s+(#{Liquid::QuotedFragment})/o
+ SYNTAX = /^\s*(#{Liquid::QuotedFragment})\s+(#{Liquid::QuotedFragment})(?=\s+class=(#{Liquid::QuotedFragment}))?/o
Syntax = SYNTAX
alias_method :render_block, :render
@@ -18,6 +18,11 @@ def initialize(block_name, markup, tokens)
if markup =~ SYNTAX
@name = unquote($1)
@title = unquote($2)
+ @css_classes = ""
+ if $3
+ # append $3 to @css_classes
+ @css_classes = "#{@css_classes} #{unquote($3)}"
+ end
else
raise SyntaxError.new("Block #{block_name} requires an id and a title")
end
diff --git a/_plugins/alt-details-lib/template.erb b/_plugins/alt-details-lib/template.erb
index 6aba6f127f..95d65eb3ef 100644
--- a/_plugins/alt-details-lib/template.erb
+++ b/_plugins/alt-details-lib/template.erb
@@ -1,5 +1,5 @@