markdown-toc
markdown-toc copied to clipboard
Not working on Linux
Given this example:
# Markdown TOC Demo
## Title 1
## Title 2
### Title 3
And after Markdown TOC: Insert/Update:
# Markdown TOC Demo
<!-- TOC -->autoauto- [Markdown TOC Demo](#markdown-toc-demo)auto - [Title 1](#title-1)auto - [Title 2](#title-2)auto - [Title 3](#title-3)autoauto<!-- /TOC -->
## Title 1
## Title 2
### Title 3
I guess the newlines used are incompatible. Should be an easy fix as to windows now supporting compatible newlines.
Exactly what I get
<!-- TOC -->autoauto- [Made With Quasar](#made-with-quasar)auto - [Initial Setup](#initial-setup)auto - [Install Docker/CE (Community Edition)](#install-dockerce-community-edition)auto - [Install Docker Compose](#install-docker-compose)auto - [Visual Studio Code "Remote - Containers" extension](#visual-studio-code-remote---containers-extension)auto - [Installing Hasura locally](#installing-hasura-locally)auto - [Install Hasura CLI](#install-hasura-cli)auto - [Migrations](#migrations)auto - [Caddy Installation](#caddy-installation)auto - [Run Caddy](#run-caddy)auto - [Run Hasura](#run-hasura)auto - [Run Backend](#run-backend)auto - [Run Frontend](#run-frontend)auto - [Final](#final)autoauto<!-- /TOC -->
Same here, MTOC 1.5.6, VSC 1.44.2 on Windows 10 using remote Ubuntu 19.10 server.
Same as you @hawkeye64—and I'm macOS. So this is not a platform issue.
this one seems to be a duplicate of #65. Workaround is in comments
Missed that one. Thanks @ovsyankin !
same here
same issue
Have anyone tried this: https://github.com/AlanWalk/markdown-toc/issues/65#issuecomment-438500104
Have anyone tried this: #65 (comment)
Same here on Linux. @tobive The workaround (which is hard-forcing VSCode from "auto" EOL to "\n" in configuration) worked for me as workaround.