KEMBAR78
Support offset when numbering by ramya-rao-a · Pull Request #1 · emmetio/html-transform · GitHub
Skip to content
This repository was archived by the owner on Aug 22, 2019. It is now read-only.

Conversation

@ramya-rao-a
Copy link
Contributor

@ramya-rao-a ramya-rao-a commented Jul 20, 2017

@ramya-rao-a ramya-rao-a changed the title Support offset when numbering Microsoft/vscode#30078 Support offset when numbering Jul 20, 2017
let offset = 0;
let offsetLength = 0;
if (str.substr(r[0] + r[1], 1) === '@'){
const matches = str.substr(r[0] + r[1] + 1).match(/^(\d+)/);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There’s also another option to reverse direction of numbering: https://docs.emmet.io/abbreviations/syntax/#changing-numbering-base-and-direction

But will approve for now

@sergeche sergeche merged commit 0bf74d1 into emmetio:master Jul 24, 2017
@sergeche
Copy link
Member

Published as 0.3.3

@ramya-rao-a ramya-rao-a deleted the add-offset-numbering branch May 6, 2018 22:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants