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

Allow inline blocks in Showmore plugin #83

Open
hagenburger opened this issue Oct 8, 2018 · 0 comments
Open

Allow inline blocks in Showmore plugin #83

hagenburger opened this issue Oct 8, 2018 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers plugin

Comments

@hagenburger
Copy link
Owner

Right now, the Showmore plugin allows to hide 1 or more lines of code.

New feature

Allow ranges to accept columns:

  1. +showmore=2:10..2:20: Hide character 10 to 20 in line 2
  2. +showmore=2:10..20: Hide character 10 to 20 in line 2
  3. +showmore=2:10..3:20: Hide character 10 in line 2 to 20 in line 3

Example use case

Additional attributes which are not important for the code:

```html +showmore=1:24..35
<input class="my-field" type="text">
```

Expected result

<input class="my-field" ···>
@hagenburger hagenburger added enhancement New feature or request good first issue Good for newcomers plugin labels Oct 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers plugin
Projects
None yet
Development

No branches or pull requests

1 participant