Comments (8)
@uranusjr: The bottom line is, I don’t really see the point of syncing the editor when the preview scrolls...
I do.
When I've written a longish piece and am proof-reading it, I'll proof-read it in the preview window. Then, if I spot a typo or other error, I'll want to jump back to the edit window to fix it. If sync'd scrolling worked in both directions, this would be easy. As it is, I have to hunt through the edit window to find the offending markdown for correcting.
from macdown.
still looking for this in 2021 ;) It would be nice if one could at least click "jump to preview position" in editor. I use markdown for summaries on studies and it is really awful to scroll through large summaries or find a certain position where I would like to continue working on.
Same here.
from macdown.
Maybe you are right.
But, I think it is not only a editor but also a reader, both editor and proof reader will use your App. If so what I said will make sense.
from macdown.
still looking for this in 2021 ;) It would be nice if one could at least click "jump to preview position" in editor. I use markdown for summaries on studies and it is really awful to scroll through large summaries or find a certain position where I would like to continue working on.
from macdown.
This is actually deliberate. Most Markdown editors with scrolling sync do it this way, including:
The only editor I know of that does it both ways is StackEdit.[1] I’m not sure why this is the case, but I can image there might be some tricky problems when both scrollers need to sync, causing some kind of dead locks.
The bottom line is, I don’t really see the point of syncing the editor when the preview scrolls. It is obviously useful to sync the preview because you can see the updates when you enter things in the editor, but the other way around doesn’t seem that useful at all.
I would consider implementing this if there are cases in which this might be useful, though.
[1] StackEdit actually does it in a cool way. My guess is that they utilise the parser’s source map. I don’t currently plan to look into this though, since it’ll take much time.
from macdown.
I would imagine that editors usually just read the rendered HTML and wouldn’t edit the Markdown source themselves. Might not be the case though, I’ve never worked in related areas.
This is still an interesting idea though. I would still consider implementing it, especially something like what StackEdit does. I’m closing this now, but I might revisit the idea if there’s time.
from macdown.
I went here to comment on the scrolling - see, when images are rendered, you won't see the text you write beneath them because the text will be below the images on the right side.
I'd suggest adding line-change detection, so that when a line get changed it will auto-scroll to that position instead of relying on sync scroll only.
from macdown.
I just checked out Dillinger, and when you activate the Scroll Sync in settings, it syncs the preview when you scroll the source and the source when you scroll the preview.
from macdown.
Related Issues (20)
- Support for Github2 dark theme HOT 2
- Unable to install the command line option HOT 2
- Feature Request: Option to have images scale to window HOT 2
- TOC is gone in 0.7.3? HOT 4
- Typo in french menu
- Has anyone tried cloning and recompiling MacDown? HOT 2
- Preference > Markdown tab shows no detail settings
- Typora will not update to latest dev version HOT 1
- BUG: Preview pane doesn't line up
- Feature request: Support "strike-through" HOT 2
- Shell support not working in macOS Sonoma RC
- Feature Request: A sidebar showing all the md files in the current directory
- macOS Sonoma 14.2 beta 3: 100% CPU usage (Intel) and other issues HOT 1
- Add support for double `$$` delimiters
- forced to desktop when opening or closing app in MacDown
- bad CPU type in executable: macdown HOT 2
- code block rendering bug for square bracket HOT 1
- Code not formatted properly when no space left from previous text
- Open Recent list shows blank entries which generate 'The document “(null)” could not be opened.' error dialogs when selected HOT 2
- Project Status? Successor? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from macdown.