Code to use unicode to bold and italic styles to text
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- web-dev
Research direction
Start by reviewing the Yaytext example and the proposed HTML input and Unicode output in this issue; no repository files, tests, or entry points are named. Done would mean converting the requested bold and italic markup into Unicode-styled text suitable for a Twitter or Facebook post.
Written by the indexing model from the issue text.
Description
It's an interactive tool that adds style to text using Unicode. Try it out. I'm glad to see it's possible to do this.
But I want to do it in code. Say I have a string with HTML markup for bold and italic. I want to pass that string to a routine and have it return a string with the bold and italic done with Unicode mapping. So it can be in a FB or Twitter post, for example. I want to bake this into thread.center, if possible.
I did a quick search for a JS code that does this. But it must be around. If not, it should be.
A little pseudocode:
var s = "This is <b>bold</b> text, and this is &i>italic</i> text.";
var unicodeversion = convertHtmlStyleToUnicode (s);
twitter.tweet (unicodeversion);
- Dominant language
- HTML
- Stars
- 134
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from scripting/Scripting-News
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
scripting/Scripting-News#353 · 6 comments ·
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
scripting/Scripting-News#332 · 25 comments · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
scripting/Scripting-News#362 ·
-
Matt is moved aside Open
Difficulty 5/5 Over a week Newbie friendliness 20/100
scripting/Scripting-News#361 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
scripting/Scripting-News#360 · 1 comment · 1 reaction ·
All issues in scripting/Scripting-News
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
zostera/django-bootstrap4#894 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
eknowledger/toolbench#101 · 1 comment ·
-
comp/dashboard P3 type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
NousResearch/hermes-agent#117722 ·
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100