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

Readme example vs. setting up line width #23

Open
b1uegh0st opened this issue Aug 24, 2021 · 0 comments
Open

Readme example vs. setting up line width #23

b1uegh0st opened this issue Aug 24, 2021 · 0 comments

Comments

@b1uegh0st
Copy link

Hi,

Thanks for the great plug-in. I found the example in your readme about the line-width, was looking for something like that. However, I am not seeing it working (maybe coz I use a theme?).

Need

  • If the readme is wrong, hope there can be a fix.
  • Else, if it is right, can you show some pointers on how to write a setting to adjust the max-width (possibly a different setting) as in the details I added under here?

I know it is a bit more than an Issue request, but because this was in the Readme so I feel somewhat justified to post this issue. Really want to use your plugin as it solves my exact pain point, just that I don't know how to make it to work in my usecase.

Thanks,
NA

Details
To be exact:

/* @settings
name: Your Section Name Here
id: a-unique-id
settings:
- 
id: line-width
title: Line width
description: The maximum line width in rem units
type: variable-number
default: 42
format: rem
*/

My other solution, a CSS snippets: (work in all theme, with the Readable line settings on).

.markdown-preview-view.is-readable-line-width .markdown-preview-sizer, .markdown-source-view.is-readable-line-width .CodeMirror 
{ max-width:42rem; }
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

1 participant