style alert padding 15px margin bottom 20px border 1px solid transparent border radius 4px alert info color 31708f background color d9edf7 border color bce8f1 alert success color 3c763d background color dff0d8 border color d6e9c6 alert warning color 8a6d3b background color fcf8e3 border color faebcc alert danger color a94442 background color f2dede border color ebccd1 style div id out div script const md info Hint In the private team plan the image will be uploaded to a private S3 storage and only accessible through the note Testing block alerts warning Warning In the private team plan the image will be uploaded to a private S3 storage and only accessible through the note danger Warning In the private team plan the image will be uploaded to a private S3 storage and only accessible through the note let txt md txt md replaceAll a zA Z0 9 ig b 1 b let re a z n n n ig txt txt replaceAll re div class alert alert 2 3 div console log txt let sln document getElementById out innerHTML txt script style alert padding 15px margin bottom 20px border 1px solid transparent border radius 4px white space pre wrap alert info color 31708f background color d9edf7 border color bce8f1 alert success color 3c763d background color dff0d8 border color d6e9c6 alert warning color 8a6d3b background color fcf8e3 border color faebcc alert danger color a94442 background color f2dede border color ebccd1 style div id out div script const md info Hint In the private team plan the image will be uploaded to a private S3 storage and only accessible through the note Testing block alerts warning Warning In the private team plan the image will be uploaded to a private S3 storage and only accessible through the note Support new lines inside the alert blocks danger Warning In the private team plan the image will be uploaded to a private S3 storage and only accessible through the note let txt md txt md replaceAll a zA Z0 9 ig b 1 b let re a z n n n ig txt txt replaceAll re div class alert alert 2 3 div console log txt let sln document getElementById out innerHTML txt script
margin bottom 20px border 1px solid transparent border radius 4px white space pre wrap alert info color 31708f background color d9edf7 border color bce8f1 alert success color 3c763d background color dff0d8 border color d6e9c6 alert warning color 8a6d3b background color fcf8e3 border color faebcc alert danger color a94442 background color f2dede border color ebccd1 style div id out div script const md info Hint In the private team plan the image will be uploaded to a private S3 storage and only accessible through the note Testing block alerts warning Warning In the private team plan the image will be uploaded to a private S3 storage and only accessible through the note Support new lines inside the alert blocks danger Warning In the private team plan the image will be uploaded to a private S3 storage and only accessible through the note let txt md txt md replaceAll a zA Z0 9 ig b 1 b let re a z n n n ig txt txt replaceAll re div class alert alert 2 3 div console log txt let sln document getElementById out innerHTML txt script