utkarshkukreti / markup.rs

A blazing fast, type-safe template engine for Rust.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can not add attributes to definitions

L-as opened this issue · comments

E.g. this is not allowed:

markup::define! {
	#[derive(Clone)]
	MyMarkup {
		"hi"
	}
}

I think this affects documentation comments too.

@L-as I've not needed this yet, but it was a simple change so I added it. Check this out. Let me know if anything doesn't work.