In Jekyll set a variable for the mail, e.g. in the _config.yml
email: name@mail.com
then use it in your page
Reach me under: {{ site.email | mailObfuscate }}
which will generate the following HTML
import TurndownService from "turndown"; | |
export const stackOverflowHighlightedCodeBlock = function (service: TurndownService): void { | |
const highlightRegExp = /lang-([a-z0-9]+)/ | |
service.addRule('stackOverflowHighlightedCodeBlock', { | |
filter: function (node: HTMLElement, options: Options): boolean | null { | |
const firstChild = node.firstChild | |
return ( | |
node.nodeName === 'PRE' && |
package at.favre.lib.armadillo; | |
import org.junit.Test; | |
import java.nio.ByteBuffer; | |
import java.nio.charset.StandardCharsets; | |
import java.security.MessageDigest; | |
import java.security.SecureRandom; | |
import java.util.Arrays; |
In Jekyll set a variable for the mail, e.g. in the _config.yml
email: name@mail.com
then use it in your page
Reach me under: {{ site.email | mailObfuscate }}
which will generate the following HTML
package at.favre.lib.bytes.otherPackage; | |
import org.junit.Test; | |
import javax.crypto.Cipher; | |
import javax.crypto.SecretKey; | |
import javax.crypto.spec.GCMParameterSpec; | |
import javax.crypto.spec.SecretKeySpec; | |
import java.nio.ByteBuffer; | |
import java.nio.charset.StandardCharsets; |