mirror of
https://github.com/Axorax/awesome-free-apps.git
synced 2025-12-17 17:55:26 +00:00
update
This commit is contained in:
parent
c07ab827e9
commit
b32e1d983a
@ -1,4 +1,4 @@
|
|||||||
# Awesome Free Apps [](https://awesome.re)
|
# Awesome Free Apps
|
||||||
|
|
||||||
> Curated list of the best free apps for Windows, Mac, and Linux
|
> Curated list of the best free apps for Windows, Mac, and Linux
|
||||||
|
|
||||||
@ -7,6 +7,9 @@
|
|||||||
🐧 means the app is available on Linux. <br>
|
🐧 means the app is available on Linux. <br>
|
||||||
⭐ means the app is recommended by us.
|
⭐ means the app is recommended by us.
|
||||||
|
|
||||||
|
> [!IMPORTANT]
|
||||||
|
> Maintaining this project requires a lot of time. [Donate to support me!](https://patreon.com/axorax) ❤️
|
||||||
|
|
||||||
## Contents
|
## Contents
|
||||||
|
|
||||||
- [Audio](#audio)
|
- [Audio](#audio)
|
||||||
|
|||||||
@ -1,32 +0,0 @@
|
|||||||
const fs = require('fs');
|
|
||||||
|
|
||||||
fs.readFile('test.md', 'utf8', (err, data) => {
|
|
||||||
if (err) {
|
|
||||||
console.error('Error reading file:', err);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
let lines = data.split('\n');
|
|
||||||
|
|
||||||
const modifiedLines = lines.map(line => {
|
|
||||||
if (line.includes('![')) {
|
|
||||||
const icons = line.match(/!\[[^\]]+\]\([^\)]+\)/g);
|
|
||||||
if (icons) {
|
|
||||||
let remainingContent = line.replace(/!\[[^\]]+\]\([^\)]+\)/g, '').trim();
|
|
||||||
remainingContent = remainingContent.replace(/^\s*-?\s*/, '');
|
|
||||||
return `- ${icons.join(' ')} ${remainingContent}`;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return line;
|
|
||||||
});
|
|
||||||
|
|
||||||
const modifiedData = modifiedLines.join('\n');
|
|
||||||
|
|
||||||
fs.writeFile('output.md', modifiedData, (err) => {
|
|
||||||
if (err) {
|
|
||||||
console.error('Error writing file:', err);
|
|
||||||
} else {
|
|
||||||
console.log('File successfully written to output.md');
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
14
mac.svg
14
mac.svg
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 15 KiB |
9
nix.svg
9
nix.svg
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 1.2 MiB |
Loading…
x
Reference in New Issue
Block a user