Markbind: Support custom keywords

Created on 19 Sep 2018  路  4Comments  路  Source: MarkBind/markbind

Extension of #428

With the current implementation of keywords, users are forced to include these keywords in the text if they want them to be tagged to a heading.

Allow the option of having keywords invisibly tagged to a heading, for example:

# Using a Java IDE
<span class="keyword hidden">Eclipse</span>
<span class="keyword hidden">Netbeans</span>
<span class="keyword hidden">IntelliJ</span>
a-AuthorUsability c.Feature 馃殌 p.Medium

All 4 comments

Maybe this can just be a custom css style?

```
.keyword.hidden {
display: none;
}
````

using one class is better than two.

The case for Atomic CSS: http://johnpolacek.com/rethinking/

Since we already ship with Bootstrap 4, this should already work:

<span class="keyword d-none">Eclipse</span>

Since we already ship with Bootstrap 4, this should already work:

In that case, the first stage could be simply documenting this technique. At a later stage, we can introduce a simpler syntax.

Was this page helpful?
0 / 5 - 0 ratings