Description
Comark lacks a way to force inline rendering or unwrap <p> tags (the MDC unwrap="p" behavior). Currently, I have no option to migrate this use case because autoUnwrap keeps the <p> on single lines in <UButton><Comark :markdown="text" /></UButton>, which breaks button layouts (previously written as <UButton><MDC :value="text" unwrap="p" /></UButton>).
Implementing either an inline prop or an unwrap option could solve this:
<UButton><Comark :markdown="text" inline /></UButton>
<UButton><Comark :markdown="text" :options="{ unwrap: 'p' }" /></UButton>
Motivation
x
Proposed solution
No response
Alternatives considered
No response
Additional context
No response
Description
Comark lacks a way to force inline rendering or unwrap
<p>tags (the MDCunwrap="p"behavior). Currently, I have no option to migrate this use case becauseautoUnwrapkeeps the<p>on single lines in<UButton><Comark :markdown="text" /></UButton>, which breaks button layouts (previously written as<UButton><MDC :value="text" unwrap="p" /></UButton>).Implementing either an
inlineprop or anunwrapoption could solve this:Motivation
x
Proposed solution
No response
Alternatives considered
No response
Additional context
No response