chore(kb): convert placeholders to articles

This commit is contained in:
Michele Cereda
2025-01-06 17:35:54 +01:00
parent 61e1de15fb
commit 3647d46b88
46 changed files with 1446 additions and 107 deletions

69
knowledge base/xml.md Normal file
View File

@@ -0,0 +1,69 @@
# XML
TODO
Intro
<!-- Remove this line to uncomment if used
## Table of contents <!-- omit in toc -->
1. [TL;DR](#tldr)
1. [Further readings](#further-readings)
1. [Sources](#sources)
## TL;DR
<!-- Uncomment if used
<details>
<summary>Setup</summary>
```sh
```
</details>
-->
<details>
<summary>Usage</summary>
```sh
xml sel -t -v 'configuration/gui/password' 'Library/Application Support/Syncthing/config.xml'
xml ed -L -d 'configuration/gui/password' 'Library/Application Support/Syncthing/config.xml'
```
</details>
<!-- Uncomment if used
<details>
<summary>Real world use cases</summary>
```sh
```
</details>
-->
## Further readings
- [Website]
- [Codebase]
### Sources
- [5 simple ways to parse an XML file on Linux]
- [`xmllint` cheatsheet][xmllint command cheatsheet]
- [`xml` cheatsheet][xml command cheatsheet]
<!--
Reference
═╬═Time══
-->
<!-- In-article sections -->
<!-- Knowledge base -->
<!-- Files -->
<!-- Upstream -->
<!-- Others -->
[5 simple ways to parse an xml file on linux]: https://www.fosslinux.com/114195/ways-to-parse-an-xml-file-on-linux.htm
[xmllint command cheatsheet]: https://cheat.sh/xmllint
[xml command cheatsheet]: https://cheat.sh/xml