doomemacs/modules
Sune Simonsen 580de0be1f
Fix source code highlighting when using marked.js
I'm currently experiencing problems getting the source code highlighting to work with https://github.com/markedjs/marked

The reason is that Marked outputs the following structure:

```html
<pre><code class="language-js">const hello = 'world';</code></pre>
```

and the current selector expects the `pre` tag to have a `lang` attribute. 

This PR splits the forwarding of the `lang` attribute to a class and the code that initialise the highlighting for each block. It will try to initialise the highlighting for every `code` block that is inside a `pre` tag.
2020-01-03 17:19:44 +01:00
..
app irc: fix logic for creating a workspace 2020-01-02 15:51:05 -08:00
completion Generalize thing-at-point & region functions 2020-01-03 02:39:47 -05:00
config Generalize thing-at-point & region functions 2020-01-03 02:39:47 -05:00
editor Merge pull request #2276 from brettlyons/patch-1 2020-01-02 00:03:16 -05:00
emacs Generalize thing-at-point & region functions 2020-01-03 02:39:47 -05:00
email email/notmuch: minor reformatting 2019-12-16 03:54:15 -05:00
input Update packages.el 2019-10-26 15:33:46 +05:30
lang Fix source code highlighting when using marked.js 2020-01-03 17:19:44 +01:00
term Fix #2014: +shell/here doesn't execute COMMAND 2020-01-01 22:47:59 -05:00
tools Generalize thing-at-point & region functions 2020-01-03 02:39:47 -05:00
ui ui/doom-dashboard: De-hardcode dashboard faces 2020-01-02 23:18:19 -05:00