Coder Social home page Coder Social logo

Comments (10)

yzhang-gh avatar yzhang-gh commented on July 22, 2024 2

Solved with v0.7.2 ๐Ÿ‘Œ

from vscode-markdown.

yzhang-gh avatar yzhang-gh commented on July 22, 2024 1

I agree with you. Let me have a try.

from vscode-markdown.

axefrog avatar axefrog commented on July 22, 2024

Kind of working - automatic indentation is not occurring when pressing enter inside of a fenced code block.

from vscode-markdown.

yzhang-gh avatar yzhang-gh commented on July 22, 2024

๐Ÿ˜ฎ As I've override the default Enter, I found it's not so easy to re-implement the indentation rules. I opened another issue to track this #9.

In my workflow, I always edit the code in the source file, and then copy-and-paste it to the MD file. I think that's much better because of the other features such as IntelliSense. That's my suggestion before I solve that issue.

from vscode-markdown.

axefrog avatar axefrog commented on July 22, 2024

fwiw, my use of markdown is for planning and note-taking, not documentation. I interleave snippets of code among paragraphs and bullet lists that describe my thought process as I work out the architecture of my project. Code is the end result for me, not the starting point, just as an architect doesn't build the house before drawing up the plans. Writing the code somewhere else and then pasting it in isn't really applicable for my use case. It's ok, I've disabled the extension for now.

from vscode-markdown.

yzhang-gh avatar yzhang-gh commented on July 22, 2024

Since it seems to be an important functionality for you, I can implement a very basic one as a temp workaround. That is, just keeping the indentation of previous line. What do you think of it?

For other indentation rules, I said it's not that easy because we have many kinds of them (indent, outdent, indentoutdent ...), and they might be different among different languages.

(BTW, we can move to #9 for further discussion.)

from vscode-markdown.

yzhang-gh avatar yzhang-gh commented on July 22, 2024

Could you please give me an example document text?

from vscode-markdown.

axefrog avatar axefrog commented on July 22, 2024

My notes are generally kind of my own personal process, but this one is really old, so I guess I can attach it. What you see here has numerous snippets of code embedded throughout the document and is fairly typical of my process.
devnotes-4.zip

from vscode-markdown.

yzhang-gh avatar yzhang-gh commented on July 22, 2024

Thanks, I'll have a look and see what I can do

from vscode-markdown.

yzhang-gh avatar yzhang-gh commented on July 22, 2024

See here.
I guess the basic part will cover most of your use cases. Feel free to comment there.

from vscode-markdown.

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.