diff --git a/docs/reference/code-blocks.md b/docs/reference/code-blocks.md index c686d8a3f..db023e9d5 100644 --- a/docs/reference/code-blocks.md +++ b/docs/reference/code-blocks.md @@ -247,7 +247,7 @@ document$.subscribe(function() { // (1) _Result_: -``` {: .js .annotate } +``` { .js .annotate } document$.subscribe(function() { // (1) var tables = document.querySelectorAll(/* (2) */ "article table") tables.forEach(function(table) { diff --git a/docs/setup/setting-up-site-search.md b/docs/setup/setting-up-site-search.md index f853bb611..3ad9772af 100644 --- a/docs/setup/setting-up-site-search.md +++ b/docs/setup/setting-up-site-search.md @@ -176,7 +176,7 @@ theme: - search.highlight ``` -Searching for [:octicons-search-24: ^^code highlighting^^][11] yields: +Searching for [:octicons-search-24: ^^code blocks^^][11] yields: [![Search highlighting][12]][12] @@ -276,7 +276,7 @@ When a user enters a query into the search box, the query is pre-processed before it is submitted to the search index. Material for MkDocs will apply the following transformations, which can be customized by [extending the theme][20]: -``` ts +``` { .ts .annotate } export function defaultTransform(query: string): string { return query .split(/"([^"]+)"/g) /* (1) */