`superfences` and `terraform` example generates duplicate output
See original GitHub issueContribution guidelines
- I’ve read the contribution guidelines and wholeheartedly agree
I’ve found a bug and checked that …
- … the problem doesn’t occur with the
mkdocsorreadthedocsthemes - … the problem persists when all overrides are removed, i.e.
custom_dir,extra_javascriptandextra_css - … the documentation does not mention anything about my problem
- … there are no open or closed issues that are related to my problem
Description
When creating an example with << in to, the contents after is include twice ie:
```teraform
<<a
x
```
Expected behaviour
Output should be:
<<a
x
Actual behaviour
renders as
<<a
x
x
Steps to reproduce
- Create new blank project
python3 -m venv .venv
source .venv/bin/activate
pip install mkdocs-material
mkdocs new .
- Update mkdocs.yml to be
site_name: Example
theme:
name: material
markdown_extensions:
- pymdownx.superfences
- update index.md to be
```teraform
<<a
x
```
- run
mkdocs serve
Output will be
<<a
x
x
Or
git clone https://github.com/michaelbrewer/mkdocs-github-issue.gitmake dev serve
Package versions
- Python:
python --version:
Python 3.9.13 - MkDocs:
mkdocs --versionmkdocs, version 1.3.1 from /Users/michaelbrewer/projects/python/mkdocs-eof/.venv/lib/python3.9/site-packages/mkdocs (Python 3.9) - Material:
pip show mkdocs-material | grep -E ^VersionVersion: 8.3.9
Configuration
site_name: Example
theme:
name: material
markdown_extensions:
- pymdownx.superfences
System information
- Operating system: …
- Browser: …
Issue Analytics
- State:
- Created a year ago
- Comments:12 (12 by maintainers)
Top Results From Across the Web
Terraform - Duplicate Output Definition, but there is no ...
I have figured out the issue. The editor I was using was Visual Studio Code. And this just doesn't always reflect the changes...
Read more >SuperFences - PyMdown Extensions Documentation
SuperFences allows defining custom fences for special purposes. For instance, we could create special fences for diagrams that we could later ...
Read more >Terraform HCL Intro 8: For In and Removing Duplication
This post provides more examples, shows local assignment, and covers how to set default attribute values. Remember, for is useful for data ...
Read more >alinex-book.pdf
This is a book explaining all the major parts and development background around the Alinex named coding projects. But it is only.
Read more >Terraform Tutorial - creating multiple instances (count, list type ...
We can specify the number of identical resources to create. ... We can get the same outcome using element() function and list type...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Awesome! Glad we were able to narrow it down.
Thanks for your time researching, @facelessuser and @michaelbrewer. Closing as upstream issue.