Commit Graph

7 Commits

Author SHA1 Message Date
flokoe
9b7adabbaf
Fix unrecognized relative links 2024-04-02 21:36:43 +02:00
flokoe
02ecdc79fb
Fix tags 2024-04-02 21:19:20 +02:00
coronary
99161c5fa3 format(docs): replace escaped special characters 2024-03-31 23:10:32 -05:00
Vera De Kalb
4166a76a00 format(docs): remove escaped t's 2024-03-30 14:09:26 -05:00
Vera De Kalb
a0a82533bc format(docs): remove escaped 's character pairs 2024-03-30 13:22:45 -05:00
Hanson Char
e966036f05 Fix hyperlinks of markdown pages at depth 2
find docs/ -depth 2  -name '*.md' | xargs grep '(.*/' -l | \
  xargs -I{} \
  sed -i '' \
  -e 's%(/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)\(.md\)\{0\})%(../\1/\2.md)%g' \
  -e 's%(/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)#\([0-9a-zA-Z_-][0-9a-zA-Z_-]*\))%(../\1/\2.md#\3)%g' \
  -e 's%(/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)\(.md\)\{0\})%(../\1/\2/\3.md)%g' \
  -e 's%(/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)#\([0-9a-zA-Z_-][0-9a-zA-Z_-]*\))%(../\1/\2/\3.md#\4)%g' \
  -e 's%](\([^:.>)#][^:.>)#]*\))%](../\1.md)%g' \
  -e 's%](\([^:.>)#][^:.>)#]*\)#\([^:.>)#][^:.>)#]*\))%](../\1.md#\2)%g' \
  {}

Related to https://github.com/flokoe/bash-hackers-wiki/issues/10
2024-01-28 17:26:10 -08:00
flokoe
82096dc0ff Convert scripting pages to Markdown 2023-07-05 11:31:29 +02:00