This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| #%%%{CotEditorXInput=AllText}%%% | |
| #%%%{CotEditorXOutput=None}%%% | |
| INPUT=$(/opt/homebrew/bin/cmark) | |
| TMPFILE="/tmp/md-preview-$$.html" | |
| cat > "$TMPFILE" << 'EOF' | |
| <html><head> | |
| <style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <opml version="2.0"> | |
| <head> | |
| <title>Miniflux</title> | |
| <dateCreated>Sun, 30 Nov 2025 07:47:50 UTC</dateCreated> | |
| </head> | |
| <body> | |
| <outline text="design"> | |
| <outline title="A List Apart: The Full Feed" text="A List Apart: The Full Feed" xmlUrl="https://alistapart.com/main/feed" htmlUrl="https://alistapart.com/" type="rss"></outline> | |
| <outline title="Baymard Institute" text="Baymard Institute" xmlUrl="https://feeds.baymard.com/baymard" htmlUrl="https://baymard.com/" type="rss"></outline> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript:(function(){var t=document.title||'No title',u=location.href,d,dEl=document.querySelector('meta[name="description"]')||document.querySelector('meta[property="og:description"]')||document.querySelector('meta[name="twitter:description"]'),ms=['main','article','div[role="main"]','.main-content','#main-content','.content','#content','.post-body','.entry-content'];if(dEl&&dEl.getAttribute('content')&&(dEl.getAttribute('content').trim()||'')!==''){d=dEl.getAttribute('content').trim()}else{var pt='';for(var i=0;i<ms.length;i++){var me=document.querySelector(ms[i]);if(me&&me.innerText){var tmt=me.innerText.trim();if(tmt.length>100){pt=tmt;break}else if(pt.length===0){pt=tmt}}}if(pt.length<100){var ps=document.querySelectorAll('p'),cp='',cc=0,mpl=25,tgc=350;for(var j=0;j<ps.length;j++){var pat=(ps[j].textContent||'').trim();if(pat.length>=mpl){if(ps[j].offsetParent!==null){cp+=pat+' ';cc+=pat.length;if(cc>=tgc)break}}}if(cp.length>pt.length){pt=cp.trim()}}if(pt.length<100){pt=(document.body.innerText||'').t |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ffmpeg -f concat -i <(for f in $PWD/*.avi;do echo "file '$f'";done) -c copy output.avi |