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
for k in `git branch | sed s/^..//`; do echo -e `git log -1 --pretty=format:"%Cgreen%ci %Cblue%cr%Creset" $k --`\\t"$k";done | sort |
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
// This is actually a nodejs script using string templates to demonstrate feasibility | |
// The potential use case for something like this is dynamically generating react | |
// element at run time while only supported a small subset of valid HTML elements. | |
// A full-blown HTML parser is also much larger and complex. | |
const supportedTags = [ | |
{ | |
tag: 'sup', | |
regex: /<sup>[^<>].*?<\/sup>/, | |
createReactElement: content => `<sup>${content}</sup>`, |
OlderNewer