Description Usage Arguments Value Examples
using create_teaching_calendar and teach_date to convert the outline raw items into org-mode todo list which will be inputed into icalendar.
| 1 2 | convert_to_org_cal(outline_str, date_begin, course, teachdate, classtime,
  room, class, holidays = c(""), add_dates = c(""))
 | 
| outline_str | outline string items | 
| date_begin | the beginning date of the course,like "2017-03-01" | 
| course | the name the course | 
| teachdate | the week day of the course, like "Mon123" | 
| classtime | the class time, like "14:00-16:30" | 
| room | the lesson room | 
| class | the class name | 
| holidays | the no lesson days | 
| add_dates | the days needed to have lessons | 
org-mode todo lists
| 1 2 3 4 5 6 7 8 9 10 11 | outline <- "What is economics
讲授内容:definition of economics; graphs in economics。 阅读章节:Parkin Ch1。
The Economic Problem
讲授内容: production possibilities and opportunity cost;  阅读章节:Parkin ch2.
Demand and Supply
讲授内容: demand; supply; equilibrium.  阅读章节:Parkin ch3.
"
convert_to_org_cal(outline, date_begin="2017-03-02", course="micro",teachdate="mon123",classtime="8:00-10:40",room="1305",class="ap4")
holiday <- c("2017-03-30","2017-05-04")
add_date <-c("2017-04-01")
convert_to_org_cal(outline, date_begin="2017-03-02", course="micro",teachdate="mon123",classtime="8:00-10:40",room="1305",class="ap4",holiday,add_date)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.