Skip to content

v2.19.0

Compare
Choose a tag to compare
@github-actions github-actions released this 28 Jun 22:02
· 261 commits to v2 since this release

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

  • 76dc710 chore: add dispatch step
  • 6d48ef3 chore: build linux_arm64
  • b4ef295 feat: support embedded markup