-
Notifications
You must be signed in to change notification settings - Fork 25
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
Custom substitutions on paragraphs #597
Comments
xcoulon
added a commit
to xcoulon/libasciidoc
that referenced
this issue
Jul 14, 2020
Support for one or more custom substitutions Starting with Rwline elements which are parsed and result in other elements. Subsequent substitutions only apply on the StringElements. At the end of the substitutions, the lines are preserved Also, fix issues with single line comments which should not start with spaces before the `//` marker Fixes bytesparadise#597 Signed-off-by: Xavier Coulon <[email protected]>
xcoulon
added a commit
to xcoulon/libasciidoc
that referenced
this issue
Jul 19, 2020
Support for one or more custom substitutions Starting with Rwline elements which are parsed and result in other elements. Subsequent substitutions only apply on the StringElements. At the end of the substitutions, the lines are preserved Also, fix issues with single line comments which should not start with spaces before the `//` marker Fixes bytesparadise#597 Signed-off-by: Xavier Coulon <[email protected]>
xcoulon
added a commit
to xcoulon/libasciidoc
that referenced
this issue
Jul 19, 2020
Support for one or more custom substitutions Starting with Rawline elements which are parsed and result in other elements. Subsequent substitutions only apply on the StringElements. At the end of the substitutions, the lines are preserved Also, fix issues with single line comments which should not start with spaces before the `//` marker Fixes bytesparadise#597 Signed-off-by: Xavier Coulon <[email protected]>
xcoulon
added a commit
to xcoulon/libasciidoc
that referenced
this issue
Jul 20, 2020
Support for one or more custom substitutions Starting with Rawline elements which are parsed and result in other elements. Subsequent substitutions only apply on the StringElements. At the end of the substitutions, the lines are preserved Also, fix issues with single line comments which should not start with spaces before the `//` marker Fixes bytesparadise#597 Signed-off-by: Xavier Coulon <[email protected]>
xcoulon
added a commit
to xcoulon/libasciidoc
that referenced
this issue
Jul 20, 2020
Support for one or more custom substitutions Starting with Rawline elements which are parsed and result in other elements. Subsequent substitutions only apply on the StringElements. At the end of the substitutions, the lines are preserved Also, fix issues with single line comments which should not start with spaces before the `//` marker Fixes bytesparadise#597 Signed-off-by: Xavier Coulon <[email protected]>
xcoulon
added a commit
to xcoulon/libasciidoc
that referenced
this issue
Jul 21, 2020
Support for one or more custom substitutions Starting with Rawline elements which are parsed and result in other elements. Subsequent substitutions only apply on the StringElements. At the end of the substitutions, the lines are preserved Also, fix issues with single line comments which should not start with spaces before the `//` marker Fixes bytesparadise#597 Signed-off-by: Xavier Coulon <[email protected]>
xcoulon
added a commit
to xcoulon/libasciidoc
that referenced
this issue
Aug 2, 2020
Support for one or more custom substitutions Starting with Rawline elements which are parsed and result in other elements. Subsequent substitutions only apply on the StringElements. At the end of the substitutions, the lines are preserved Also, fix issues with single line comments which should not start with spaces before the `//` marker Fixes bytesparadise#597 Signed-off-by: Xavier Coulon <[email protected]>
xcoulon
added a commit
to xcoulon/libasciidoc
that referenced
this issue
Aug 2, 2020
Support for one or more custom substitutions Starting with Rawline elements which are parsed and result in other elements. Subsequent substitutions only apply on the StringElements. At the end of the substitutions, the lines are preserved Also, fix issues with single line comments which should not start with spaces before the `//` marker Fixes bytesparadise#597 Signed-off-by: Xavier Coulon <[email protected]>
xcoulon
added a commit
that referenced
this issue
Aug 2, 2020
Support for one or more custom substitutions Starting with Rawline elements which are parsed and result in other elements. Subsequent substitutions only apply on the `StringElements`. At the end of the substitutions, the lines are preserved. Also, attribute substitution is only performed when the element substitution is `normal` or `attributes`. In other cases, explicit attribute substitution is needed. Also, fix issues with single line comments which should not start with spaces before the `//` marker. Fixes #597 Signed-off-by: Xavier Coulon <[email protected]>
Reopening as work was incomplete: missing tests on the renderers. |
xcoulon
added a commit
to xcoulon/libasciidoc
that referenced
this issue
Sep 5, 2020
Using multiple substitutions to parse the paragraph content and support custom substitutions via the `subs` attribute. Some grammar rules have been simplified. For example, the content of a quoted text can only be other quoted texts or plain chararacters. Using "placeholder" elements to support parsing of complex elements in which previously elements were identified. For example, a link may contain quoted text as attributes, quoted test may contain special characters, etc. Also, introducing a new `ElementRole` type, since attributes may contain special characters which would be rendered differently, depending on the backend. However, this may need more work in the future (expand to other attributes with somethig generic?) Sadly, all these changes also have an impact on the performances, so further investigation may be required, to see if optimizations can be found. Fixes bytesparadise#597 Signed-off-by: Xavier Coulon <[email protected]> WIP update tests after rebasing Signed-off-by: Xavier Coulon <[email protected]> WIP - with quotedtext placeholder Signed-off-by: Xavier Coulon <[email protected]>
xcoulon
added a commit
to xcoulon/libasciidoc
that referenced
this issue
Sep 5, 2020
Using multiple substitutions to parse the paragraph content and support custom substitutions via the `subs` attribute. Some grammar rules have been simplified. For example, the content of a quoted text can only be other quoted texts or plain chararacters. Using "placeholder" elements to support parsing of complex elements in which previously elements were identified. For example, a link may contain quoted text as attributes, quoted test may contain special characters, etc. Also, introducing a new `ElementRole` type, since attributes may contain special characters which would be rendered differently, depending on the backend. However, this may need more work in the future (expand to other attributes with somethig generic?) Sadly, all these changes also have an impact on the performances, so further investigation may be required, to see if optimizations can be found. Fixes bytesparadise#597 Signed-off-by: Xavier Coulon <[email protected]> WIP update tests after rebasing Signed-off-by: Xavier Coulon <[email protected]> WIP - with quotedtext placeholder Signed-off-by: Xavier Coulon <[email protected]>
xcoulon
added a commit
to xcoulon/libasciidoc
that referenced
this issue
Sep 5, 2020
Using multiple substitutions to parse the paragraph content and support custom substitutions via the `subs` attribute. Some grammar rules have been simplified. For example, the content of a quoted text can only be other quoted texts or plain chararacters. Using "placeholder" elements to support parsing of complex elements in which previously elements were identified. For example, a link may contain quoted text as attributes, quoted test may contain special characters, etc. Also, introducing a new `ElementRole` type, since attributes may contain special characters which would be rendered differently, depending on the backend. However, this may need more work in the future (expand to other attributes with somethig generic?) Sadly, all these changes also have an impact on the performances, so further investigation may be required, to see if optimizations can be found. Fixes bytesparadise#597 Signed-off-by: Xavier Coulon <[email protected]> WIP update tests after rebasing Signed-off-by: Xavier Coulon <[email protected]> WIP - with quotedtext placeholder Signed-off-by: Xavier Coulon <[email protected]>
xcoulon
added a commit
that referenced
this issue
Sep 6, 2020
Using multiple substitutions to parse the paragraph content and support custom substitutions via the `subs` attribute. Some grammar rules have been simplified. For example, the content of a quoted text can only be other quoted texts or plain characters. Using "placeholder" elements to support parsing of complex elements in which previously elements were identified. For example, a link may contain quoted text as attributes, quoted test may contain special characters, etc. Also, introducing a new `ElementRole` type, since attributes may contain special characters which would be rendered differently, depending on the backend. However, this may need more work in the future (expand to other attributes with something generic?) Sadly, all these changes also have an impact on the performances, so further investigation may be required, to see if optimizations can be found. Fixes #597 Signed-off-by: Xavier Coulon <[email protected]>
This was referenced Sep 29, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Similar to #558 but for paragraphs.
The text was updated successfully, but these errors were encountered: