ATTACH: FILEDIA, -ATTACH command line and reference file types

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ramox81andClaude Opus 5.5 committed 2026-10-13 15:22:44 +03:00
1 parent b1d4c9bd9b
commit 0678c579c0
33 files changed
+519 -47

No files matched your search

+3
View File
@@ -147,6 +147,9 @@ pub struct XAttachCommand {
const NONZERO: &str = "Value must be nonzero.";
/// Raster image files ATTACH places as images.
pub const IMAGE_EXTENSIONS: &[&str] = &["bmp", "gif", "jpg", "jpeg", "png", "tif", "tiff", "webp"];
impl XAttachCommand {
pub fn new(request: XrefAttachRequest, placement: XrefPlacement, label: &'static str) -> Self {
let block_name = path_to_block_name(&request.path);