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

ark assets #8

Open
hgiesel opened this issue May 16, 2019 · 1 comment
Open

ark assets #8

hgiesel opened this issue May 16, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@hgiesel
Copy link
Owner

hgiesel commented May 16, 2019

Introduce the command ark assets:

  • Gets all assets paths with a sectionid
  • Gets all used assetrefs within a file with a pageid
  • Doesn't work with a questionid

Introduce new kind of syntax and identifier, called assetrefs, which kinda work like pagerefs:

. link:#graph-theory:dihedral-1.jpg[A picture of bla]
. link:#:dihedral-2.jpg[A picture of bla2]

ark verify should check validity of assetrefs, too.

In vim-ankify, I can ways to easily import files from a set directory in the file system.

@hgiesel hgiesel added the enhancement New feature or request label May 16, 2019
@hgiesel
Copy link
Owner Author

hgiesel commented May 22, 2019

Or rather...

ark assets <sectionid>: lists all assets incldes in ./assets directory in sectionid

ark assetrefs <pageid>: lists all asssets used in sectionid, or pageid

ark revasset <assetref>: revrefs for assetrefs. Should also mean that revrefs is renamed to revpage

assetrefs should look like graph-theory#foobar-image.pdf, or #foobar-image.pdf, if in the current directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant