Code Monkey home page Code Monkey logo

Comments (14)

evilz avatar evilz commented on July 30, 2024 1

Thank,

not sure why, but this should work

separator: ^---$

from vscode-reveal.

evilz avatar evilz commented on July 30, 2024 1

Ok I need to update documentation.

Maybe I'm going to remove some configuration from Extension menu and only do it from front matter.

from vscode-reveal.

evilz avatar evilz commented on July 30, 2024

this regex ^( ?| )---( ?| )$ create 3 groups each time don't use group in regex :)

from vscode-reveal.

robert-skarzycki avatar robert-skarzycki commented on July 30, 2024

I have same issue with vscode-reveal=3.31 and vscode=1.31.0 (January 2019) :(

from vscode-reveal.

evilz avatar evilz commented on July 30, 2024

Can you give me your file ?

from vscode-reveal.

robert-skarzycki avatar robert-skarzycki commented on July 30, 2024

@evilz, here you can find content of repro file: https://gist.github.com/robert-skarzycki/bfd05150581d819e1ae0bd59e6dc68a6
Current version: vscode-reveal=3.3.2 and vscode=1.31.1

from vscode-reveal.

Henry78 avatar Henry78 commented on July 30, 2024

#127 (comment)

from vscode-reveal.

Henry78 avatar Henry78 commented on July 30, 2024

Just to note: This happens to my after a fresh installation (no settings changes, just installed vscode-reveal and few other extensions) and by creating a new .md-file with just a separator ("---")

from vscode-reveal.

evilz avatar evilz commented on July 30, 2024

Just change regex in version 3.4.0

Can someone check please

from vscode-reveal.

ericop avatar ericop commented on July 30, 2024

@evilz I'd be willing to install vsCode-reaveal-3.4.0.vsix if you build one. I tried to pull down the repo and run it in debugger, but got this error while trying to open a markdown file to test the new --- separator.

image

from vscode-reveal.

evilz avatar evilz commented on July 30, 2024

It's on the marketing. But if should compile. I will check

from vscode-reveal.

ericop avatar ericop commented on July 30, 2024

Ah, the badge says 3.3.2 so it confused me.

image

So I removed the frontmatter

separator: '^\r?\n---\r?\n$'
verticalSeparator: '^\r?\n--\r?\n$'

and it's still working! So I'm pretty sure the default of ^?---?$ is working great as well as ^?--?$ for the vertical separator.

Probably just an update to the readme docs, and you should be good!

image

Thanks again for this cool extension!

from vscode-reveal.

ericop avatar ericop commented on July 30, 2024

from vscode-reveal.

evilz avatar evilz commented on July 30, 2024

The pain is only the packages.json file .... so big and verbose.

from vscode-reveal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.