Python 3.x atlassian python API:将引导添加到html内容以创建页面
我正在使用atlassia python api中的Confluence模块创建一个页面 我想将html作为内容传递。是否可以为该html添加图像和引导CDN 这是我的密码Python 3.x atlassian python API:将引导添加到html内容以创建页面,python-3.x,confluence,confluence-rest-api,atlassian-python-api,Python 3.x,Confluence,Confluence Rest Api,Atlassian Python Api,我正在使用atlassia python api中的Confluence模块创建一个页面 我想将html作为内容传递。是否可以为该html添加图像和引导CDN 这是我的密码 title = "test page" content = """<table id="mytable"> <th>header1</th> <th>h
title = "test page"
content = """<table id="mytable">
<th>header1</th>
<th>header2</th>
<tr>
<td>R1C1</td>
<td>R2C2</td>
</tr>
<tr>
<td>R2C1</td>
<td>R2C2</td>
</tr>
</table>"""
Bootstrap_html = """<script>
$(document).ready(function(){
$('#myTable').dataTable();});
</script>
<script
src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript"
src="http://cdn.datatables.net/1.10.2/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>"""
content = bootstrap_html+content
confluence.create_page(SPACE, title, content, type=blogpost)
title=“测试页面”
content=”“”
校长1
校长2
R1C1
R2C2
R2C1
R2C2
"""
Bootstrap_html=“”
$(文档).ready(函数(){
$('#myTable').dataTable();});
"""
content=bootstrap\u html+content
合流。创建页面(空间、标题、内容、类型=博客帖子)
如果我不添加引导文件但在添加