mirror of
https://github.com/typst/typst
synced 2025-07-27 06:17:53 +08:00
Compare commits
4 Commits
897d08384f
...
cb06d3f2e2
Author | SHA1 | Date | |
---|---|---|---|
|
cb06d3f2e2 | ||
|
78355421ad | ||
|
cac273e50d | ||
|
1222ab5818 |
@ -834,7 +834,7 @@ fn param_value_completions<'a>(
|
||||
fn path_completion(func: &Func, param: &ParamInfo) -> Option<&'static [&'static str]> {
|
||||
Some(match (func.name(), param.name) {
|
||||
(Some("image"), "source") => {
|
||||
&["png", "jpg", "jpeg", "gif", "svg", "svgz", "webp"]
|
||||
&["png", "jpg", "jpeg", "gif", "svg", "svgz", "webp", "pdf"]
|
||||
}
|
||||
(Some("csv"), "source") => &["csv"],
|
||||
(Some("plugin"), "source") => &["wasm"],
|
||||
|
@ -264,6 +264,7 @@ impl<'s> SmartQuotes<'s> {
|
||||
"he" => ("’", "’", "”", "”"),
|
||||
"hr" => ("‘", "’", "„", "”"),
|
||||
"bg" => ("’", "’", "„", "“"),
|
||||
"ar" if !alternative => ("’", "‘", "«", "»"),
|
||||
_ if lang.dir() == Dir::RTL => ("’", "‘", "”", "“"),
|
||||
_ => default,
|
||||
};
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 959 B After Width: | Height: | Size: 969 B |
Loading…
x
Reference in New Issue
Block a user