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

grammar scope: Need support for bq.. tag #13

Open
wion opened this issue Feb 18, 2021 · 2 comments
Open

grammar scope: Need support for bq.. tag #13

wion opened this issue Feb 18, 2021 · 2 comments
Labels
enhancement New feature or request Expert help wanted Need developer help or inspection on this. mostly works This mostly works as expected, but something could be amiss.

Comments

@wion
Copy link
Owner

wion commented Feb 18, 2021

The bq. tag now works, but support for the bq.. (multi-paragraphs) tag needs added. This requires figuring out how to continue the presentation on displayed quotations across line breaks until escaped, typically with a different Textile tag (e.g. p., hn., etc).

@wion wion added the to do On the to do list label Feb 18, 2021
@wion
Copy link
Owner Author

wion commented Feb 18, 2021

This now works. Only thing needed was to account for the extra dot in the displayed quotations scope. The continuing para behaviour already worked, I just happened to discover it by accident. ;)

tWriter quotes and code

To do the multi-para dance:

  1. Type the @bq..@ tag (two dots) and the first paragraph, as normal.
  2. Hit in series:
    1. Return ⮐
    2. Tab ⇥
    3. Return ⮐
  3. Type second para, and so on until end of the last one.
  4. Hit in series to exit the tab and end the displayed quotation:
    1. Return
    2. Backspace ←

There is no distinction between the bq. and the bq.. para development. You just have to be careful that you use the right number of tag dots when transferring to Textpattern.

In Textpattern, to truly escape the multi-para displayed quotation, a new block element starting with a dot tag (p., hn., etc) must be used, so might as well get in habit of adding it in the .textile draft article.

@wion wion removed the to do On the to do list label Feb 18, 2021
@wion wion closed this as completed Feb 18, 2021
@wion
Copy link
Owner Author

wion commented Feb 19, 2021

Reopening, because it would be nice if step 2.ii in previous post (making the tabbed and active position) happened automatically when conducting the initial carriage return (2.i) for bq.. context.

But I don't know how to do it.

Anyone?

Same for #12, and similar situation for #9

@wion wion reopened this Feb 19, 2021
@wion wion added enhancement New feature or request Expert help wanted Need developer help or inspection on this. mostly works This mostly works as expected, but something could be amiss. labels Feb 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Expert help wanted Need developer help or inspection on this. mostly works This mostly works as expected, but something could be amiss.
Projects
None yet
Development

No branches or pull requests

1 participant