Configuration options for markdown transformation.
Remarks
Based on analysis of real Hashnode export data, the primary transformation needed
is removing align attributes from images. Additional optional cleanup transformations
are provided for specific use cases.
Whether to convert Hashnode callout divs to markdown blockquotes.
Default Value
false
Remarks
Hashnode exports may contain <div data-node-type="callout"> structures for
highlighting content. Enable this to convert them to standard markdown blockquotes.
Leave disabled if your target framework can style HTML in markdown.
OptionalremoveAlignAttributes
removeAlignAttributes?:boolean
Whether to remove align attributes from images.
Default Value
true
Remarks
Hashnode exports include align="center", align="left", and align="right"
attributes on markdown images. These are not standard markdown and should be removed.
OptionaltrimTrailingWhitespace
trimTrailingWhitespace?:boolean
Whether to trim trailing whitespace from lines.
Default Value
false
Remarks
Some Hashnode exports contain trailing spaces (particularly after list items).
These are harmless but can be cleaned up if desired.
Note: Preserves exactly two trailing spaces (markdown hard line break syntax).
Configuration options for markdown transformation.
Remarks
Based on analysis of real Hashnode export data, the primary transformation needed is removing align attributes from images. Additional optional cleanup transformations are provided for specific use cases.