File tree Expand file tree Collapse file tree 1 file changed +6
-13
lines changed Expand file tree Collapse file tree 1 file changed +6
-13
lines changed Original file line number Diff line number Diff line change 48
48
//! }
49
49
//! ```
50
50
//!
51
- //! ### Features
52
- //!
53
- //! `css-inline` does minimum work by default:
54
- //!
55
- //! - No CSS transformation;
56
- //! - No "style" or "link" tags removal;
57
- //!
58
- //! It also loads external stylesheets via network or filesystem, but this behavior is configurable.
59
- //!
60
- //! ### Configuration
51
+ //! ### Features & Configuration
61
52
//!
62
53
//! `css-inline` can be configured by using `InlineOptions` and `CSSInliner`:
63
54
//!
84
75
//! }
85
76
//! ```
86
77
//!
87
- //! - `remove_style_tags`. Remove "style" tags after inlining.
88
- //! - `base_url`. Base URL to resolve relative URLs
89
- //! - `load_remote_stylesheets`. Whether remote stylesheets should be loaded or not
78
+ //! - `inline_style_tags`. Whether to inline CSS from "style" tags. Default: `true`
79
+ //! - `remove_style_tags`. Remove "style" tags after inlining. Default: `false`
80
+ //! - `base_url`. Base URL to resolve relative URLs. Default: `None`
81
+ //! - `load_remote_stylesheets`. Whether remote stylesheets should be loaded or not. Default: `true`
82
+ //! - `extra_css`. Additional CSS to inline. Default: `None`
90
83
//!
91
84
#![ warn(
92
85
clippy:: doc_markdown,
You can’t perform that action at this time.
0 commit comments