Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No inlining of .gif #9

Open
2xyo opened this issue Nov 8, 2018 · 1 comment
Open

No inlining of .gif #9

2xyo opened this issue Nov 8, 2018 · 1 comment

Comments

@2xyo
Copy link

2xyo commented Nov 8, 2018

.gif inlining is not working as expected

$ sudo npm install -g limedocs-wiki-converter
npm WARN deprecated [email protected]: Potential REDOS vulnerability removed in v1.1.0
npm WARN deprecated [email protected]: Potential REDOS vulnerability fixed in v0.3.0
/usr/bin/lwc -> /usr/lib/node_modules/limedocs-wiki-converter/dist/cli/lwc.js
+ [email protected]

$ 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
Copy link
Contributor

Hi @2xyo, try the following markdown syntax:

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

over

[[SingleHostMoloch.gif]]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants