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

Add anchors to every block-level element #49

Open
3 tasks
jdpage opened this issue Jan 4, 2016 · 2 comments
Open
3 tasks

Add anchors to every block-level element #49

jdpage opened this issue Jan 4, 2016 · 2 comments
Assignees
Milestone

Comments

@jdpage
Copy link
Owner

jdpage commented Jan 4, 2016

Reincarnation of #9, depends the block-formatter rewrite from #2. Every block-level element gets a fragment identifier, (possibly displayed in the margin; @woodrowbarlow thinks it would be too cluttered), to easily allow people to link to things.

  • work out a way of constructing the fragment in a way that is stable/semi-stable across edits
  • implement the update to the rendering engine
  • stylesheet changes
@jdpage jdpage self-assigned this Jan 4, 2016
@jdpage jdpage added this to the 0.2 Benzene milestone Jan 4, 2016
@woodrowbarlow
Copy link
Collaborator

can i use U+2693 for these and hang them in the margin on the left instead of to the right of the element (including on headings)?

@jdpage
Copy link
Owner Author

jdpage commented Jan 31, 2016

I think the solution to the first problem may be to let the fragments be generated in the AST, and then somehow spewed out in the reconstituted markup in a non-intrusive way, so that when the AST is reconstituted from the markup, the fragment identifiers remain the same. Syntax suggestions welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants