diff options
| author | tradam <git.tradam.fyi> | 2021-08-21 21:50:11 -0400 |
|---|---|---|
| committer | tradam <git.tradam.fyi> | 2021-08-21 21:50:11 -0400 |
| commit | fc024d278beb841ebbc03d1fad709d04a14bd470 (patch) | |
| tree | d56ffec17b3211f7506000442d86ec7c90b55c2a /README.mdown | |
| parent | dbcb42e5380183a6922d6df5d60c2e0e42083325 (diff) | |
| download | mdbooks-scripts-master.tar.gz mdbooks-scripts-master.zip | |
Diffstat (limited to 'README.mdown')
| -rw-r--r-- | README.mdown | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/README.mdown b/README.mdown index a526fc3..fa04372 100644 --- a/README.mdown +++ b/README.mdown @@ -11,3 +11,22 @@ This is for when you want to move a file. It will rename all the Urls to the new ### rename.sh `params: NewName Url` This is for when you want to rename something to a new one. It will rename all instances with the new one you give, it matches to the url you give. + +--- +# TODO: +needs to be able to understand that mdown and html are "the same" +for example both of these should be replace: +``` +// replace url from car to plane + +[vehicle](./car.mdown) +// becomes: +[vehicle](./plane.mdown) + +[vehicle](/car.html#doors) +// becomes: +[vehicle](/plane.html#doors) +``` +So in general it needs to be able to do the following: +1. ignore the part after the extension and maintain it(e.g `.mdown` or `.html#header` +2. ignore the `./` or `/` at the beginning of a url if it is there, but also be ok with them not being there |
