Skip to content

Conversation

@gpx1000
Copy link
Collaborator

@gpx1000 gpx1000 commented Oct 17, 2025

Implemented functionality to parse and display code blocks with multiple language options. Added a language selector UI for switching between languages and updated CSS to manage visibility of multilang code blocks. Includes local storage support for preferred language persistence.

example source code block:
[source,multilang,javascript,ruby]
.Example Code

// START javascript
console.log("Hello");
// END javascript

// START ruby
puts 'Hello'
// END ruby

Implemented functionality to parse and display code blocks with multiple language options. Added a language selector UI for switching between languages and updated CSS to manage visibility of multilang code blocks. Includes local storage support for preferred language persistence.

example source code block:
[source,multilang,javascript,ruby]
.Example Code
----
// START javascript
console.log("Hello");
// END javascript

// START ruby
puts 'Hello'
// END ruby
----
@SaschaWillems
Copy link
Collaborator

SaschaWillems commented Oct 17, 2025

See my comment in KhronosGroup/antora-ui-khronos#30

How does this differ from KhronosGroup/antora-ui-khronos#21?

@gpx1000
Copy link
Collaborator Author

gpx1000 commented Oct 17, 2025

See my reply :) This PR only updates the linked UI file. We should keep the convo there.

@oddhack
Copy link
Collaborator

oddhack commented Nov 5, 2025

@gpx1000 with the underlying UI repo update having merged, shouldn't we just accept this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants