mirror of
https://github.com/typst/typst
synced 2025-05-20 12:05:27 +08:00
Fix a few typos
This commit is contained in:
parent
d52493938e
commit
487fddb7cb
@ -833,7 +833,7 @@ pub fn range(
|
|||||||
|
|
||||||
/// Loads a WebAssembly plugin.
|
/// Loads a WebAssembly plugin.
|
||||||
///
|
///
|
||||||
/// This is **advanced functionality** and not be confused with
|
/// This is **advanced functionality** and not to be confused with
|
||||||
/// [Typst packages]($scripting/#packages).
|
/// [Typst packages]($scripting/#packages).
|
||||||
///
|
///
|
||||||
/// Typst is capable of interfacing with plugins compiled to WebAssembly. Plugin
|
/// Typst is capable of interfacing with plugins compiled to WebAssembly. Plugin
|
||||||
@ -866,7 +866,7 @@ pub fn range(
|
|||||||
///
|
///
|
||||||
/// ## Protocol { #protocol }
|
/// ## Protocol { #protocol }
|
||||||
/// To be used as a plugin, a WebAssembly module must conform to the following
|
/// To be used as a plugin, a WebAssembly module must conform to the following
|
||||||
/// protocol
|
/// protocol:
|
||||||
///
|
///
|
||||||
/// ### Exports { #exports }
|
/// ### Exports { #exports }
|
||||||
/// A plugin module can export functions to make them callable from Typst. To
|
/// A plugin module can export functions to make them callable from Typst. To
|
||||||
@ -883,7 +883,7 @@ pub fn range(
|
|||||||
/// - The `a_1` first bytes of the buffer now constitute the first argument, the
|
/// - The `a_1` first bytes of the buffer now constitute the first argument, the
|
||||||
/// `a_2` next bytes the second argument, and so on.
|
/// `a_2` next bytes the second argument, and so on.
|
||||||
///
|
///
|
||||||
/// - The function can now do its job with the argument and produce an output
|
/// - The function can now do its job with the arguments and produce an output
|
||||||
/// buffer. Before returning, it should call
|
/// buffer. Before returning, it should call
|
||||||
/// `wasm_minimal_protocol_send_result_to_host` to send its result back to the
|
/// `wasm_minimal_protocol_send_result_to_host` to send its result back to the
|
||||||
/// host.
|
/// host.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user