Macro text_block_macros::text_block_fnl[][src]

macro_rules! text_block_fnl {
    ($($line:literal)*) => { ... };
}

Create a multiline string literal with a trailing newline.

Example:

use text_block_macros::text_block_fnl;
let text = text_block_fnl! {
    "abc"
    "def"
    "ghi"
};
assert_eq!(text, "abc\ndef\nghi\n");