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

Auto link to defines and procs #92

Closed
optimumtact opened this issue Jul 10, 2019 · 3 comments
Closed

Auto link to defines and procs #92

optimumtact opened this issue Jul 10, 2019 · 3 comments

Comments

@optimumtact
Copy link

Having a shorthand syntax like
[text](#def:<nameofdev>)
auto gen a link to the define or proc would definitely be useful, to save having to type out the relative links (including the anchor)

should help keep the comments from ballooning in size

@SpaceManiac
Copy link
Owner

[text][/path/to/thing] is the currently supported syntax, though its implementation leaves a bit to be desired.

@SpaceManiac SpaceManiac added this to the suite v1.2 milestone Nov 20, 2019
@SpaceManiac SpaceManiac changed the title Feature request: Auto link to defines and procs Auto link to defines and procs Dec 9, 2019
@SpaceManiac SpaceManiac modified the milestones: suite v1.2, suite v1.3 Jan 12, 2020
@SpaceManiac
Copy link
Owner

The following references will now be resolved:

  • [DEFINE_NAME]
  • [/mob]
  • [/mob/proc/Dizzy]
  • [/mob/var/stat]

e.g. [DEFINE_NAME] for a shorthand link or [some define][DEFINE_NAME] to customize link text.

@optimumtact
Copy link
Author

awesome!

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