Public
Versions
- Open: VersionChanges from v10 to v11+3-3⦚ 7 unchanged lines ⦚<div style="color:gray"><div style="display:inline-block">${author}:</div>
<div style="margin-left:8px; margin-right:8px">${comment_text}</div><div>on <a>${story_title}</a></div><div>${@stevekrouse.hnPrefixURL}${objectID}</div></div>`;// Forked from @stevekrouse.hnCommentToText⦚ 7 unchanged lines ⦚<div style="color:gray"><div style="display:inline-block">${author}:</div><div style="margin-left:16px"><a href="${@stevekrouse.hnPrefixURL}${objectID}" style="text-decoration:none">${comment_text}</a></div><div>on <a href="${@stevekrouse.hnPrefixURL}${story_id}">${story_title}</div><div style="height:16px"></div></div>`;// Forked from @stevekrouse.hnCommentToText - Open: VersionChanges from v9 to v10+2-2⦚ 5 unchanged lines ⦚comment_text,}) => `
<div><div style="display:inline-block">${author}:</div><div>${comment_text}</div><div>on <a>${story_title}</a></div><div>${@stevekrouse.hnPrefixURL}${objectID}</div></div>`;// Forked from @stevekrouse.hnCommentToText⦚ 5 unchanged lines ⦚comment_text,}) => `<div style="color:gray"><div style="display:inline-block">${author}:</div><div style="margin-left:8px; margin-right:8px">${comment_text}</div><div>on <a>${story_title}</a></div><div>${@stevekrouse.hnPrefixURL}${objectID}</div></div>`;// Forked from @stevekrouse.hnCommentToText - Open: VersionChanges from v8 to v9+4-7⦚ 6 unchanged lines ⦚}) => `<div>
<div style="display:inline-block"># ${author}:</div><div>${comment_text}</div><div>on <a>${story_title}</a></div><div>${@stevekrouse.hnPrefixURL}${objectID}</div><div style="font-size:1.15em; color:red">${await @stevekrouse.htmlToMarkdown(comment_text)}</div></div>`;// Forked from @stevekrouse.hnCommentToText⦚ 6 unchanged lines ⦚}) => `<div><div style="display:inline-block">${author}:</div><div>${comment_text}</div><div>on <a>${story_title}</a></div><div>${@stevekrouse.hnPrefixURL}${objectID}</div></div>`;// Forked from @stevekrouse.hnCommentToText - Open: VersionChanges from v7 to v8+1-1⦚ 10 unchanged lines ⦚<div>on <a>${story_title}</a></div><div>${@stevekrouse.hnPrefixURL}${objectID}</div>
<div style="font-size:1.15em, color:red">${await @stevekrouse.htmlToMarkdown(comment_text)}</div></div>`;// Forked from @stevekrouse.hnCommentToText⦚ 10 unchanged lines ⦚<div>on <a>${story_title}</a></div><div>${@stevekrouse.hnPrefixURL}${objectID}</div><div style="font-size:1.15em; color:red">${await @stevekrouse.htmlToMarkdown(comment_text)}</div></div>`;// Forked from @stevekrouse.hnCommentToText - Open: VersionChanges from v6 to v7+1-1⦚ 10 unchanged lines ⦚<div>on <a>${story_title}</a></div><div>${@stevekrouse.hnPrefixURL}${objectID}</div>
<div style="font-size:1.15em">${await @stevekrouse.htmlToMarkdown(comment_text)}</div></div>`;// Forked from @stevekrouse.hnCommentToText⦚ 10 unchanged lines ⦚<div>on <a>${story_title}</a></div><div>${@stevekrouse.hnPrefixURL}${objectID}</div><div style="font-size:1.15em, color:red">${await @stevekrouse.htmlToMarkdown(comment_text)}</div></div>`;// Forked from @stevekrouse.hnCommentToText - Open: VersionChanges from v5 to v6+0-0⦚ 17 unchanged lines ⦚⦚ 17 unchanged lines ⦚
- Open: VersionChanges from v4 to v5+1-1⦚ 9 unchanged lines ⦚<div>${comment_text}</div><div>on <a>${story_title}</a></div>
${@stevekrouse.hnPrefixURL}${objectID}<div style="font-size:1.15em">${await @stevekrouse.htmlToMarkdown(comment_text⦚ 3 unchanged lines ⦚⦚ 9 unchanged lines ⦚<div>${comment_text}</div><div>on <a>${story_title}</a></div><div>${@stevekrouse.hnPrefixURL}${objectID}</div><div style="font-size:1.15em">${await @stevekrouse.htmlToMarkdown(comment_text⦚ 3 unchanged lines ⦚ - Open: VersionChanges from v3 to v4+0-0⦚ 17 unchanged lines ⦚⦚ 17 unchanged lines ⦚
- Open: Version+17-0let hnCommentToHTML = async ({author,story_title,objectID,story_id,comment_text,}) => `<div><div style="display:inline-block"># ${author}:</div><div>${comment_text}</div><div>on <a>${story_title}</a></div>${@stevekrouse.hnPrefixURL}${objectID}<div style="font-size:1.15em">${await @stevekrouse.htmlToMarkdown(comment_text)}</div></div>`;// Forked from @stevekrouse.hnCommentToText
Updated: October 23, 2023