Created
October 17, 2020 02:42
-
-
Save Narvey/2d5be2e00c1f78bee51cb930fc359bbb to your computer and use it in GitHub Desktop.
barcodify
This file contains 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
var title = "Put Title with num 8345834 Here" | |
var nums = match(/\d\d+\d/)[0] | |
var html = "<h4>" + title + "</h4><img src=\"http://api.labelary.com/v1/printers/8dpmm/labels/2.5x1.2/0/^xa^fo100,100^bcn,100^fd" + nums + "^fs^xz\" />" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment