mbakeranalecta / sam

Semantic Authoring Markdown
Other
79 stars 8 forks source link

Decorations acting as global annotations #197

Closed mbakeranalecta closed 6 years ago

mbakeranalecta commented 6 years ago

The bold and italic decorations are represented internally as annotations. This means that if you do

_foo_ and {foo}

the second foo will be italic because it looks up the italic annotation of the first foo. This is not what I think most people would expect and decorations should not be used for consistent semantic annotation anyway. The cure for this is simply to make all decorations local annotations.

mbakeranalecta commented 6 years ago

Fixed in 647d92d1764371541c589b94562130ead3a4fea7