פתרון מהיר ל־markdown עברי

פורום רשתות, IT ומחשוב כללי - רשתות, ראוטרים, מחשבים ניידים, אביזרים וכו'.
שלח תגובה
dhead666 פותח השרשור
סמל אישי של משתמש
גורו HTPC
גורו HTPC
תגובות: 2975
הצטרף: פברואר 2009
נתן תודות: 123 פעמים
קיבל תודות: 879 פעמים

שליחה #1 

פתרון מהיר ולא חכם במיוחד ליישור לימין בעורך markdown בשם Remarkable.

פשוט הזינו את קוד CSS הבא בתור סטייל CSS מותאם אישית

קוד: בחירת הכל

body{
  font:16px Helvetica,Arial,sans-serif;
  line-height:1.4;
  color:#333;
  word-wrap:break-word;
  background-color:#fff;
  padding:10px 15px;
  direction: rtl;
}
strong{
  font-weight:700
}
h1{
  font-size:2em;
  margin:.67em 0;
  text-align:center
}
h2{
  font-size:1.75em
}
h3{
  font-size:1.5em
}
h4{
  font-size:1.25em
}
h1,h2,h3,h4,h5,h6{
  font-weight:700;
  position:relative;
  margin-top:15px;
  margin-bottom:15px;
  line-height:1.1
}
h1,h2{
  border-bottom:1px solid #eee
}
hr{
  height:0;
  margin:15px 0;
  overflow:hidden;
  background:0 0;
  border:0;
  border-bottom:1px solid #ddd
}
a{
 color:#4183C4
}
a.absent{
  color:#c00
}
ol,ul{
  padding-left:15px;
  margin-left:5px
}
ol{
  list-style-type:lower-roman
}
table{
  padding:0
}
table tr{
  border-top:1px solid #ccc;
  background-color:#fff;
  margin:0;
  padding:0
}
table tr:nth-child(2n){
  background-color:#aaa
}
table tr th{
  font-weight:700;
  border:1px solid #ccc;
  text-align:left;
  margin:0;
  padding:6px 13px
}
table tr td{
  border:1px solid #ccc;
  text-align:left;
  margin:0;
  padding:6px 13px
}
table tr td :first-child,table tr th :first-child{
  margin-top:0
}
table tr td:last-child,table tr th :last-child{
  margin-bottom:0
}
img{
  max-width:100%
}
code{
  padding:0 5px;
  background-color:#d3d3d3
}
blockquote{
  padding: 0 15px;
  border-left:4px solid #ccc
}
לחלופין ניתן להוסיף "direction: rtl" במקום המתאים בשורה המתחילה ב־self.github בקובץ RemarkableWindow.py

שלח תגובה

חזור אל “רשתות, אינטרנט ו- Fiber”