위 표에 1행은 (#) 넣어서 링크를 만들었네. 대괄호로 문자열 감싸고 그 옆에 소괄호로 링크 넣으면 첨부된다.
아래는 행마다 정렬이 다르니까 참고
+) 표 위아래 모두 한 줄씩 띄워야 한다.
Header1
Header2
Header3
cell1
cell2
cell3
cell4
cell5
cell6
cell1
cell2
cell3
cell4
cell5
cell6
Foot1
Foot2
Foot3
Definition Lists
Definition List Title
Definition list division.
본문 아랫줄에 : 넣고 작성하면 들여쓰기가 된다.
Unordered Lists (Nested)
List item one
List item two
List item three
List item four
리스트는 그냥 참고하자.
Ordered List (Nested)
List item one
a. List item one
1. List item one
2. List item two
3. List item three
4. List item four
b. List item two
c. List item three
d. List item four
word-wrap: break-word;strikeout textitalicize inserted keyboard textbold text H2O E = MC2
문자 스타일? 효과를 넣을 수 있다.
코드 작성
.post-title {
margin: 0 0 5px;
font-weight: bold;
font-size: 38px;
line-height: 1.2;
and here's a line of some really, really, really, really long text, just to see how the PRE element handles it and to find out how it overflows;
}
< pre>로도 할 수 있는데 맠다 형식으로 작성하는 게 편한 거 같다. 아래 유튜브 추가하는 코드 첨부하면서 맠다 형식 넣었다.
Images
이미지 임베드 중요하지.. 근데 생각해보니까 이거 어느 폴더에 넣지? _screenshots에 넣어야 하나
유튜브 첨부
<!-- responsive iframe. The framesize reduces proportionately when viewing in mobile --><divclass="video-container"><iframeclass="embed-responsive-item"src="..."></iframe></div>
Howdy! This is an example blog post that shows several types of HTML content supported in this theme.
맠다 형식과 Html 스타일 비교
To bold text, use <strong>.
To italicize text, use <em>.
Abbreviations, like HTML should use <abbr>, with an optional title attribute for the full phrase.
Citations, like — Mark otto, should use <cite>.
Deleted text should use <del> and inserted text should use <ins>.
Superscript text uses <sup> and subscript text uses <sub>.
여러 코드 임베드 비교
// Example can be run directly in your JavaScript console// Create a function that takes two arguments and returns the sum of those argumentsvaradder=newFunction("a","b","return a + b");// Call the functionadder(2,6);// > 8
#!/usr/bin/python3
fromflaskimportFlask,request,render_template,gimportsqlite3importosimportbinasciiapp=Flask(__name__)app.secret_key=os.urandom(32)try:FLAG=open('./flag.txt','r').read()except:FLAG='[**FLAG**]'DATABASE="database.db"ifos.path.exists(DATABASE)==False:db=sqlite3.connect(DATABASE)db.execute('create table users(userid char(100), userpassword char(100));')db.execute(f'insert into users(userid, userpassword) values ("guest", "guest"), ("admin", "{binascii.hexlify(os.urandom(16)).decode("utf8")}")')db.commit()db.close()defget_db():db=getattr(g,'_database',None)ifdbisNone:db=g._database=sqlite3.connect(DATABASE)db.row_factory=sqlite3.Rowreturndbdefquery_db(query,one=True):cur=get_db().execute(query)rv=cur.fetchall()cur.close()return (rv[0]ifrvelseNone)ifoneelserv@app.teardown_appcontextdefclose_connection(exception):db=getattr(g,'_database',None)ifdbisnotNone:db.close()@app.route('/')defindex():returnrender_template('index.html')@app.route('/login',methods=['GET','POST'])deflogin():ifrequest.method=='GET':returnrender_template('login.html')else:userid=request.form.get('userid')userpassword=request.form.get('userpassword')res=query_db(f'select * from users where userid="{userid}" and userpassword="{userpassword}"')ifres:userid=res[0]ifuserid=='admin':returnf'hello {userid} flag is {FLAG}'returnf'<script>alert("hello {userid}");history.go(-1);</script>'return'<script>alert("wrong");history.go(-1);</script>'app.run(host='0.0.0.0',port=8000)