Skip to content

Commit 3d6510c

Browse files
committed
Fixed code block annotations
1 parent e11fce3 commit 3d6510c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/reference/code-blocks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ document$.subscribe(function() { // (1)
247247

248248
_Result_:
249249

250-
``` {: .js .annotate }
250+
``` { .js .annotate }
251251
document$.subscribe(function() { // (1)
252252
var tables = document.querySelectorAll(/* (2) */ "article table")
253253
tables.forEach(function(table) {

docs/setup/setting-up-site-search.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ theme:
176176
- search.highlight
177177
```
178178

179-
Searching for [:octicons-search-24: ^^code highlighting^^][11] yields:
179+
Searching for [:octicons-search-24: ^^code blocks^^][11] yields:
180180

181181
[![Search highlighting][12]][12]
182182

@@ -276,7 +276,7 @@ When a user enters a query into the search box, the query is pre-processed
276276
before it is submitted to the search index. Material for MkDocs will apply the
277277
following transformations, which can be customized by [extending the theme][20]:
278278

279-
``` ts
279+
``` { .ts .annotate }
280280
export function defaultTransform(query: string): string {
281281
return query
282282
.split(/"([^"]+)"/g) /* (1) */

0 commit comments

Comments
 (0)