This commit is contained in:
Axorax 2025-01-11 01:09:07 +06:00
parent c07ab827e9
commit b32e1d983a
5 changed files with 4 additions and 70 deletions

View File

@ -1,4 +1,4 @@
# Awesome Free Apps [![Awesome](https://awesome.re/badge.svg)](https://awesome.re)
# Awesome Free Apps
> 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 recommended by us.
> [!IMPORTANT]
> Maintaining this project requires a lot of time. [Donate to support me!](https://patreon.com/axorax) ❤️
## Contents
- [Audio](#audio)

View File

@ -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

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 15 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 1.2 MiB

14
win.svg

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 192 KiB