limedocs / limedocs-wiki-converter

Generate HTML & PDF documentation from you Github wiki or any other markdown-based wiki
MIT License
43 stars 65 forks source link

No inlining of .gif #9

Open 2xyo opened 6 years ago

2xyo commented 6 years ago

.gif inlining is not working as expected

$ sudo npm install -g limedocs-wiki-converter
npm WARN deprecated datauri@0.7.1: Potential REDOS vulnerability removed in v1.1.0
npm WARN deprecated mimer@0.2.3: Potential REDOS vulnerability fixed in v0.3.0
/usr/bin/lwc -> /usr/lib/node_modules/limedocs-wiki-converter/dist/cli/lwc.js
+ limedocs-wiki-converter@0.1.12

$ git clone https://github.com/aol/moloch.wiki.git

$ lwc -v ./moloch.wiki
debug:   gwc launched with options format=html, output=./, title=Documentation , tocFile=null, tocLevel=3, highlightTheme=darkula, userCssFile=null, verbose=true, disableInlineAssets=false, filename=documentation
debug:   Found 17 markdown files and 17 links pointing to them in TOC
debug:   Generating html: 17 pages to generate
info:    html file written: documentation.html
documentation.html

$ grep .gif documentation.html |tail -n 4
<p>[[SingleHostMoloch.gif]]</p>
<p>[[MultiHostMoloch.gif]]</p>
<p>[[HighTrafficMoloch.gif]]</p>
<p>[[MultiClusterMoloch.gif]]</p>

# Expected result : the 4 .gif should be inlined (see https://github.com/aol/moloch/wiki/Architecture#single-host ) 

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 9.5 (stretch)
Release:    9.5
Codename:   stretch

$ nodejs --version
v10.13.0
mattallty commented 6 years ago

Hi @2xyo, try the following markdown syntax:

![Image of Yaktocat](https://octodex.github.com/images/yaktocat.png)

over

[[SingleHostMoloch.gif]]