All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.rjeschke.txtmark.MarkToken Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (C) 2011-2015 René Jeschke 
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.github.rjeschke.txtmark;

/**
 * Markdown token enumeration.
 *
 * @author René Jeschke 
 */
public enum MarkToken
{
    /** No token. */
    NONE,
    /** * */
    EM_STAR,            // x*x
    /** _ */
    EM_UNDERSCORE,      // x_x
    /** ** */
    STRONG_STAR,        // x**x
    /** __ */
    STRONG_UNDERSCORE,  // x__x
    /** ` */
    CODE_SINGLE,        // `
    /** `` */
    CODE_DOUBLE,        // ``
    /** [ */
    LINK,               // [
    /** < */
    HTML,               // <
    /** ![ */
    IMAGE,              // ![
    /** & */
    ENTITY,             // &
    /** \ */
    ESCAPE,             // \x
    /** Extended: ^ */
    SUPER,              // ^
    /** Extended: (C) */
    X_COPY,             // (C)
    /** Extended: (R) */
    X_REG,              // (R)
    /** Extended: (TM) */
    X_TRADE,            // (TM)
    /** Extended: << */
    X_LAQUO,            // <<
    /** Extended: >> */
    X_RAQUO,            // >>
    /** Extended: -- */
    X_NDASH,            // --
    /** Extended: --- */
    X_MDASH,            // ---
    /** Extended: ... */
    X_HELLIP,           // ...
    /** Extended: "x */
    X_RDQUO,            // "
    /** Extended: x" */
    X_LDQUO,            // "
    /** [[ */
    X_LINK_OPEN,        // [[
    /** ]] */
    X_LINK_CLOSE,       // ]]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy