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

Use with Hugo #106

Closed
ghost opened this issue Jan 14, 2019 · 2 comments
Closed

Use with Hugo #106

ghost opened this issue Jan 14, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Jan 14, 2019

I'd like to be able to use this plug-in for translations of a Hugo website. But the content I'm using has a lot of Shortcodes like:

{{< highlight go-html-template >}}
{{< include "themes/after-dark/layouts/_default/single.html" >}}
{{< /highlight >}}

Is there a way to configure word-count omissions if these types of things using RegExp?

@OleMchls
Copy link
Owner

@JHabdas Generally I agree with that feature request. However, adding support for each and every markup language would result in very complex code. If you are keen to push this forward I encourage you to take a look at #99 which is a great approach to this issue.

@ghost
Copy link
Author

ghost commented Feb 2, 2019

However, adding support for each and every markup language would result in very complex code.

Couldn't agree more, which is why I would advise a generalized approach. This issue was intended to get the conversation kicked off. If #99 addresses both the wordcount issue and this one that'll be great.

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

1 participant