docs: add mdbook-admonish for better tooltips
This commit is contained in:
parent
c8bd78a29c
commit
21d74b8482
15 changed files with 435 additions and 48 deletions
|
|
@ -53,7 +53,9 @@ typedef uint32_t (*DecodeFunction)(
|
|||
);
|
||||
```
|
||||
|
||||
> Note that the `TSInputEncoding` must be set to `TSInputEncodingCustom` for the `decode` function to be called.
|
||||
```admonish attention
|
||||
The `TSInputEncoding` must be set to `TSInputEncodingCustom` for the `decode` function to be called.
|
||||
```
|
||||
|
||||
The `string` argument is a pointer to the text to decode, which comes from the `read` function, and the `length` argument
|
||||
is the length of the `string`. The `code_point` argument is a pointer to an integer that represents the decoded code point,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue