alefragnani / vscode-language-rtf

RTF Language Extension for Visual Studio Code
MIT License
25 stars 8 forks source link

Add a Preview to the Side, like VS Code's Markdown support #2

Open sinewalker opened 6 years ago

sinewalker commented 6 years ago

I have no idea the feasibility of this, but I'm hoping that Microsoft has some open-sourced and compatible library that could be used to render the RTF. It'd be really grand.

sinewalker commented 6 years ago

The Microsoft github org has nothing. A quick search for "javascript RTF" reveals 8 repos

alefragnani commented 6 years ago

Hi @sinewalker ,

That's an interesting idea. Personally, I don't use the extension to read MS RTF, but another custom spec, so a Preview would be a bit different for some elements, at least in my case. But still, valid.

At first, I see two possible repos that already convert RTF to HTML, and so, I think it would be easier to mimic the Markdown preview idea.

Stay tuned...

alefragnani commented 6 years ago

HI @sinewalker ,

I tested some of the suggested libraries, but none of them seems to be powerful enough. There are some missing key features, which at first sight, seems blocking to me, like stylesheets and tables.

If you find something new, please, comment here đź‘Ť

alefragnani commented 4 years ago

Give https://www.npmjs.com/package/@iarna/rtf-to-html a try

alefragnani commented 3 years ago

I'm closing this feature request because it didn’t receive enough upvotes from the community. Still a big Thank You to you for taking the time to create this issue!

Thanks for your understanding

tobiashochguertel commented 2 years ago

I'm closing this feature request because it didn’t receive enough upvotes from the community. Still a big Thank You to you for taking the time to create this issue!

Thanks for your understanding

Can we just leave it open and over the time we may implement it? I just came today to .rtf files (totally new for me..) and would like to see this feature. I think it's a missing part in this extension.

and where can we upvote it?

alefragnani commented 2 years ago

Hi @tobiashochguertel ,

No problem. I'll leave it open to PRs.