You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`base_url`. The base URL used to resolve relative URLs. If you'd like to load stylesheets from your filesystem, use the `file://` scheme. Default: `None`
98
98
-`load_remote_stylesheets`. Specifies whether remote stylesheets should be loaded. Default: `true`
99
99
-`extra_css`. Extra CSS to be inlined. Default: `None`
100
-
-`preallocate_node_capacity`. **Advanced**. Preallocates capacity for HTML nodes during parsing. This can improve performance when you have an estimate of the number of nodes in your HTML document. Default: `8`
100
+
-`preallocate_node_capacity`. **Advanced**. Preallocates capacity for HTML nodes during parsing. This can improve performance when you have an estimate of the number of nodes in your HTML document. Default: `32`
101
101
102
102
You can also skip CSS inlining for an HTML tag by adding the `data-css-inline="ignore"` attribute to it:
Copy file name to clipboardExpand all lines: bindings/python/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,7 +113,7 @@ inliner.inline("...")
113
113
-`base_url`. The base URL used to resolve relative URLs. If you'd like to load stylesheets from your filesystem, use the `file://` scheme. Default: `None`
114
114
-`load_remote_stylesheets`. Specifies whether remote stylesheets should be loaded. Default: `True`
115
115
-`extra_css`. Extra CSS to be inlined. Default: `None`
116
-
-`preallocate_node_capacity`. **Advanced**. Preallocates capacity for HTML nodes during parsing. This can improve performance when you have an estimate of the number of nodes in your HTML document. Default: `8`
116
+
-`preallocate_node_capacity`. **Advanced**. Preallocates capacity for HTML nodes during parsing. This can improve performance when you have an estimate of the number of nodes in your HTML document. Default: `32`
117
117
118
118
You can also skip CSS inlining for an HTML tag by adding the `data-css-inline="ignore"` attribute to it:
Copy file name to clipboardExpand all lines: bindings/wasm/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@ var inlined = inline(
79
79
-`base_url`. The base URL used to resolve relative URLs. If you'd like to load stylesheets from your filesystem, use the `file://` scheme. Default: `null`
80
80
-`load_remote_stylesheets`. Specifies whether remote stylesheets should be loaded. Default: `true`
81
81
-`extra_css`. Extra CSS to be inlined. Default: `null`
82
-
-`preallocate_node_capacity`. **Advanced**. Preallocates capacity for HTML nodes during parsing. This can improve performance when you have an estimate of the number of nodes in your HTML document. Default: `8`
82
+
-`preallocate_node_capacity`. **Advanced**. Preallocates capacity for HTML nodes during parsing. This can improve performance when you have an estimate of the number of nodes in your HTML document. Default: `32`
83
83
84
84
You can also skip CSS inlining for an HTML tag by adding the `data-css-inline="ignore"` attribute to it:
0 commit comments