Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include standard column breaks #53

Open
pabuta88 opened this issue Jan 13, 2019 · 4 comments
Open

Include standard column breaks #53

pabuta88 opened this issue Jan 13, 2019 · 4 comments

Comments

@pabuta88
Copy link

pabuta88 commented Jan 13, 2019

Hi,

First of all, thanks a lot for your package, which simplifies working with RMarkdown a lot.

I was wondering whether it would be possible to include similar to the xaringan pull-left and pull-right template a standard way of inserting a column break.

I prefer using ioslides and hence I need to wrap my markdown text and my chunks into html tags. I am not sure yet what would be the best way to include this feature but I guess many people work with separated columns and this would save them a lot of time.

What do you think?

Best, Pascal

@yonicd
Copy link
Collaborator

yonicd commented Jan 13, 2019

Thank you for the suggestion.

Can you give an example of the syntax you would want (before/after type example)

@pabuta88
Copy link
Author

pabuta88 commented Jan 13, 2019

Thank you for your quick reply. I am actually not yet sure what the best way would be to implement it. At the moment, I have something simple in mind like the following

Before:

data(iris)

or

  • This is right

After:

<div class="left">
some chunk
</div>

and

 <div class="right">
     * This is right
 </div>

The styling could then be done in the css file. What do you think? Of course it would be nice to have a mask to enter style details like width and float. But I think the most important part would be to wrap it in div-tags (similar to your example of turning selected text into a chunk).

@yonicd
Copy link
Collaborator

yonicd commented Jan 18, 2019

in general terms an addin that wraps text in the following manner could be possible, would it answer your needs?

<div class="CLASSNAME">
  [TEXT]
 </div>

@pabuta88
Copy link
Author

pabuta88 commented Jan 20, 2019

exactly. how would you let the user choose the classname in the addin?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants