I would like to improve the writing experience of legal texts in markdown that have many section references to texts such as the General Data Protection Regulation (GDPR for short, this is the first occurrence of it in this forum now ).
Section references look generally like this:
- Article 6
- Article 6, 18 and 24
- Article 6.3.2
- Article 6.2 (b)
I imagine that editors type in
§ to trigger the auto-completittion similar to those in https://atom.io/packages/autocomplete-emojis.
The auto-completition should allow then to search for the descriptive title of the section to enter the respective number. Optionally, editors should be able to even use a full article search.
For this, a local text directory would be needed. This could be generated in case of the GDPR from https://gdpr-info.eu/.
A separate linter may check all references and highlight those that do not seem to exist.
My question are now:
- Has somebody tried this before?
- Who would be interested to join the afford to develop such package?
- Do you know packages that provide similar functionalities?