Only extract anchor targets/link fragments
hoijui opened this issue · comments
With a command line switch, like --only-extract-anchors-targets
, only that second phase of the process would be done, and the list of anchor targets would be printed.
This can be useful for debugging, for using other tools for doing the other steps, gathering statistics about anchors or the changing of anchors over time, or .. who knows what!
It would move mlc
closer to the UNIX style of software, and give more power to the users of this software.
Only see a usecase if #40 is implemented, or as part of a rust lib of mlc
so others can include it in their projects.
ah indeed, as a library it also makes a lot of sense! :-)
I personally would also use it as a stand-alone tool,
piping into sed
, awk
, sort
and the like.
Anyway.. I am just enlisting my wishes here