From 9d5b33fff870728c189c8cef99ff7c3b7c6fab30 Mon Sep 17 00:00:00 2001 From: Michael Goderbauer Date: Thu, 18 Apr 2024 11:32:03 -0700 Subject: [PATCH] Fix docs for SemanticsAction (flutter/engine#52229) The old rendering: ![image](https://github.com/flutter/engine/assets/1227763/201c1bed-b27b-40de-8abf-0c091fb20d3f) This changes uses markdown syntax introduced in https://github.com/dart-lang/markdown/commit/5fab3a7bc880ddf979ccabfbcbad3fea091d7d0b Fixes https://github.com/flutter/flutter/issues/94494. --- engine/src/flutter/lib/ui/semantics.dart | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/engine/src/flutter/lib/ui/semantics.dart b/engine/src/flutter/lib/ui/semantics.dart index 3a99e8322a..e0da396d8e 100644 --- a/engine/src/flutter/lib/ui/semantics.dart +++ b/engine/src/flutter/lib/ui/semantics.dart @@ -6,12 +6,11 @@ part of dart.ui; /// The possible actions that can be conveyed from the operating system /// accessibility APIs to a semantics node. -/// -/// \warning When changes are made to this class, the equivalent APIs in -/// `lib/ui/semantics/semantics_node.h` and in each of the embedders -/// *must* be updated. -/// See also: -/// - file://./../../lib/ui/semantics/semantics_node.h +// +// > [!Warning] +// > When changes are made to this class, the equivalent APIs in +// > `lib/ui/semantics/semantics_node.h` and in each of the embedders +// > *must* be updated. class SemanticsAction { const SemanticsAction._(this.index, this.name);