Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting for hard/soft line breaks #13

Open
eikek opened this issue Feb 12, 2024 · 1 comment
Open

Setting for hard/soft line breaks #13

eikek opened this issue Feb 12, 2024 · 1 comment

Comments

@eikek
Copy link

eikek commented Feb 12, 2024

Thank you very much for this nice previewer!

Is your feature request related to a problem? Please describe.
I use for writing a max line width of 80 characters. The preview renders my line breaks, but I would like it to ignore them. For example,

these are
two lines

I would expect to be rendered into a single line (if the html window is wide enough).

Describe the solution you'd like
A setting would be nice to choose the behavior of the preview, perhaps.

Describe alternatives you've considered
I tried to look for customization or eaf-markdown-* vars, but couldn't find any.

@manateelazycat
Copy link
Member

Html generate at here

html = await engine.generateHTMLTemplateForExport(html, yamlConfig, {

You can add some css in html string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants