angular/adev/shared-docs/components
Shuaib Hasan Akib 27e183330e fix(docs-infra): preserve shell class for multifile code blocks
The ExampleViewer component was extracting only innerHTML from code
blocks in multifile examples, which lost the shell class applied by
the formatCode function. This caused the $ prompt to not appear for
shell commands in multifile blocks even when language="shell" was set.

Modified the Snippet interface to track shell language state and
updated getCodeSnippetsFromMultifileWrapper and getStandaloneCodeSnippet
methods to preserve the shell class. Updated example-viewer template
to conditionally apply the shell class to the code wrapper element.

Fixes inconsistency between standalone and multifile shell code blocks.
2025-10-27 09:29:37 +01:00
..
algolia-icon build: migrate all dependencies for adev into adev/package.json (#62435) 2025-07-03 08:09:34 +00:00
breadcrumb docs(docs-infra): properties should be readonly (#63492) 2025-08-29 14:06:33 -07:00
cookie-popup docs(docs-infra): clean up code and use inferred types where possible (#64139) 2025-09-29 16:48:11 -04:00
copy-source-code-button docs(docs-infra): removed unused common module (#63915) 2025-09-19 14:44:44 +00:00
icon build: move all rule/macro loading into adev/defaults.bzl and fix intellisense loading (#62627) 2025-07-14 15:47:05 -07:00
navigation-list docs(docs-infra): enable strict templates 2025-10-24 15:23:26 +02:00
search-dialog docs(docs-infra): always include fragment in search results (#63866) 2025-09-17 14:56:31 +00:00
search-history docs(docs-infra): enable strict templates 2025-10-24 15:23:26 +02:00
select docs(docs-infra): clean up code and use inferred types where possible (#64139) 2025-09-29 16:48:11 -04:00
slide-toggle docs(docs-infra): clean up code and use inferred types where possible (#64139) 2025-09-29 16:48:11 -04:00
table-of-contents docs(docs-infra): properties should be readonly (#63492) 2025-08-29 14:06:33 -07:00
text-field docs(docs-infra): removed unused common module (#63915) 2025-09-19 14:44:44 +00:00
top-level-banner docs(docs-infra): fix mobile banner layout (#64408) 2025-10-15 10:41:04 -07:00
viewers fix(docs-infra): preserve shell class for multifile code blocks 2025-10-27 09:29:37 +01:00
BUILD.bazel build: remove ts_project_interop infrastructure (#62908) 2025-07-31 09:12:58 +00:00
index.ts docs(docs-infra): add top level banner component (#57458) 2024-08-22 09:06:46 -07:00