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

Glossary #23

Merged
merged 10 commits into from
Sep 7, 2016
Merged

Glossary #23

merged 10 commits into from
Sep 7, 2016

Conversation

ashfurrow
Copy link
Member

Fixes #18.

This is a work-in-progress because I haven't had a chance to test it with Swift Playgrounds to make sure it works. It's a bit messy, might be a better way to do this in Ruby. I'll check out to see if it works next week.

@ashfurrow ashfurrow changed the title [WIP] Glossary Glossary Sep 5, 2016
@ashfurrow
Copy link
Member Author

Looking good!
img_0047

@rhysforyou
Copy link
Contributor

👍 I'll have a look at this at lunch

... [term](glossary://term) ...
```

Only the link to the term must be URL encoded. For example, the term "reuse identifier" would be defined in the yaml as `reuse identifier` but linked to as `glossary://reuse%20identifier`.
Copy link
Collaborator

Choose a reason for hiding this comment

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

does this lint for these constraints?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point, do you think the renderer should warn on this, or would that be best left to the linter?

Copy link
Collaborator

Choose a reason for hiding this comment

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

depends on your opinion on the workflow, would you work with say guard where it would lint on save? If so then a warning would be good

@orta
Copy link
Collaborator

orta commented Sep 7, 2016

Cool, only nitpicks, nothing seems blocking

@orta
Copy link
Collaborator

orta commented Sep 7, 2016

:shipit:

@ashfurrow ashfurrow merged commit b274ede into master Sep 7, 2016
@ashfurrow ashfurrow deleted the glossary branch September 7, 2016 15:56
@ashfurrow ashfurrow mentioned this pull request Sep 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants