Releases: errata-ai/vale
Releases · errata-ai/vale
v2.21.2
v2.21.1
v2.21.0
v2.20.2
v2.20.1
v2.20.0
v2.19.0
This release adds support for linting markup embedded within source code, such as Rust Markdown (shown below).
/// Creates a new empty `String`.
///
/// Given that the `String` is empty, this will not allocate any initial
/// buffer. While that means that this initial operation is very
/// inexpensive, it may cause excessive allocation later when you add
/// data. If you have an idea of how much data the `String` will hold,
/// consider the [`with_capacity`] method to prevent excessive
/// re-allocation.
///
/// [`with_capacity`]: #method.with_capacity
///
/// # Examples
///
/// Basic usage:
///
/// ```
/// let s = String::new();
/// ```
pub const fn new() -> String {
String { vec: Vec::new() }
}
To enable this, use the format association section to specify the combination:
StylesPath = styles
MinAlertLevel = suggestion
[formats]
# Rust Markdown
rs = md
[*.md]
BasedOnStyles = Vale
Changelog
v2.18.0
v2.17.0
You can now customize the attributes passed to asciidoctor
:
StylesPath = <...>
[asciidoctor]
# attribute = value
#
# where 'YES' enables and 'NO' disables.
# enable
experimental = YES
# assign a specific value
attribute-missing = drop
[*]
BasedOnStyles = Vale
# normal config ...