Skip to content

Feature Request: Ability to Remove Default Padding/Margin #818

@AndrianarivoAlpha

Description

@AndrianarivoAlpha

Feature Request: Ability to Remove Default Padding/Margin

Description

Currently, react-native-marked applies default padding or margin to the rendered Markdown content. However, there is no built-in way to disable or override this spacing.

Request

Would it be possible to provide a prop (e.g., disableDefaultStyles or containerStyle={{ padding: 0, margin: 0 }}) that allows removing or modifying the default padding and margin?

Example Usage

<Marked value={item.content} containerStyle={{ padding: 0, margin: 0 }} />

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions