Files
wechatmp2markdown/test/test1.html

137 lines
12 KiB
HTML
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>test1</title>
</head>
<body>
<div>
<div id="img-content" class="rich_media_wrp">
<h1 class="rich_media_title" id="activity-name">这里是文章标题</h1>
<div id="meta_content" class="rich_media_meta_list">
<span id="copyright_logo" class="wx_tap_link js_wx_tap_highlight rich_media_meta icon_appmsg_tag appmsg_title_tag weui-wa-hotarea" wah-hotarea="click">原创</span>
<span class="rich_media_meta rich_media_meta_text">
<span role="link" id="js_author_name" class="wx_tap_link js_wx_tap_highlight weui-wa-hotarea" datarewardsn="" datatimestamp="" datacanreward="0" wah-hotarea="click">这里是作者</span>
</span>
<span class="rich_media_meta rich_media_meta_nickname" id="profileBt" wah-hotarea="click">
<a href="javascript:void(0);" class="wx_tap_link js_wx_tap_highlight weui-wa-hotarea" id="js_name">
这里是公众号名 </a>
<div id="js_profile_qrcode" aria-hidden="true" class="profile_container" style="display:none;" wah-hotarea="click">
<div class="profile_inner">
<strong class="profile_nickname">这里是公众号名</strong>
<img class="profile_avatar" id="js_profile_qrcode_img" src="" alt="">
<p class="profile_meta">
<label class="profile_meta_label">微信号</label>
<span class="profile_meta_value">这里是微信号</span>
</p>
<p class="profile_meta">
<label class="profile_meta_label">功能介绍</label>
<span class="profile_meta_value">这里是功能介绍</span>
</p>
</div>
<span class="profile_arrow_wrp" id="js_profile_arrow_wrp">
<i class="profile_arrow arrow_out"></i>
<i class="profile_arrow arrow_in"></i>
</span>
</div>
</span>
<em id="publish_time" class="rich_media_meta rich_media_meta_text">2021-01-01</em>
</div>
<div id="js_tags" class="article-tag__list single-tag__wrp js_single js_wx_tap_highlight wx_tap_card" data-len="1" role="link" aria-labelledby="js_article-tag-card__left" aria-describedby="js_article-tag-card__right" wah-hotarea="click">
<span aria-hidden="true" id="js_article-tag-card__left" class="article-tag-card__left">
<span class="article-tag-card__title">收录于话题</span>
<span class="article-tag__item-wrp no-active js_tag" data-url="https://mp.weixin.qq.com/mp/appmsgalbum?__biz=Mzk0MjE3NDE0Ng==&amp;action=getalbum&amp;album_id=1645521656368381958#wechat_redirect" data-tag_id="" data-album_id="1645521656368381958" data-tag_source="4">
<span class="article-tag__item">#话题1</span>
</span>
</span>
<span aria-hidden="true" id="js_article-tag-card__right" class="article-tag-card__right">69个<span class="weui-hidden_abs">内容</span></span>
</div>
<div class="rich_media_content " id="js_content" style="visibility: visible;">
<p data-mpa-powered-by="yiban.io"><span style="font-size: 16px;letter-spacing: 0.5px;background-color: transparent;caret-color: var(--weui-BRAND);">正文第一行</span><br></p>
<section style="line-height: 1.5em;"><span style="letter-spacing: 0.5px;font-size: 16px;"></span></section>
<section style="line-height: 1.5em;"><span style="letter-spacing: 0.5px;font-size: 16px;">正文第二行。<br></span></section>
<section style="line-height: 1.5em;text-align: center;"><img class="rich_pages wxw-img" data-galleryid="" data-ratio="1.0826306913996628" data-s="300,640" data-src="<img class="rich_pages wxw-img" data-galleryid="" data-ratio="0.625" data-s="300,640" data-src="https://mmbiz.qpic.cn/mmbiz_jpg/Z6bicxIx5naLuefnXicbRG06t9JMcnk5ZfO77yyhu2Mtv9037eWJnq0H5ALU1jibAUEm21mUsx0cq11B6oGpGE1jQ/640?wx_fmt=jpeg" data-type="jpeg" data-w="1024" style="width: 677px !important; height: auto !important; visibility: visible !important;" _width="677px" src="https://mmbiz.qpic.cn/mmbiz_jpg/Z6bicxIx5naLuefnXicbRG06t9JMcnk5ZfO77yyhu2Mtv9037eWJnq0H5ALU1jibAUEm21mUsx0cq11B6oGpGE1jQ/640?wx_fmt=jpeg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" crossorigin="anonymous" alt="图片" data-fail="0">" data-type="png" data-w="593" style="box-shadow: rgb(210, 210, 210) 0em 0em 0.5em 0px; font-size: 17px; width: 346px !important; height: auto !important; visibility: visible !important;" _width="346px" src="https://mmbiz.qpic.cn/mmbiz_png/GLeh42uInXRdNibLb2hf6QnMnWgic4Nm0KhCmicJibxESMoGfbuMrXbQB7lrYFSJPlBeGaJyciaavIBN8NLwESxia7cA/640?wx_fmt=png&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" crossorigin="anonymous" alt="图片" data-fail="0"></section>
<section style="line-height: 1.5em;">
<span style="letter-spacing: 0.5px;font-size: 16px;">正文第三行part1文本</span>
<a target="_blank" href="https://mp.weixin.qq.com/mp/appmsgalbum?__biz=MzIzOTU0NTQ0MA==&action=getalbum&album_id=1391790902901014528#wechat_redirect" textvalue="你管这破玩意叫操作系统源码" linktype="text" imgurl="" imgdata="null" tab="innerlink" data-linktype="2" style="letter-spacing: 0.5px;font-size: 16px;" wah-hotarea="click">
<span style="letter-spacing: 0.5px;font-size: 16px;">正文第三行part2链接</span>
</a>
<span style="letter-spacing: 0.5px;font-size: 16px;">正文第三行part3文本。<br></span>
</section>
<h2 style="line-height: 1.75em;">
<strong><span style="font-size: 15px;color: rgb(255, 106, 0);">&nbsp;JDK层</span></strong>
</h2>
<h3 style="line-height: 1.75em;">
<span style="font-size: 15px;color: rgb(255, 106, 0);">1&nbsp;AbstractQueuedSynchronizer</span>
</h3>
<!-- 代行号的代码块 -->
<section class="code-snippet__fix code-snippet__js">
<ul class="code-snippet__line-index code-snippet__js">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
<pre class="code-snippet__js" data-lang="cs">
<code><span class="code-snippet_outer">代码节选自java.util.concurrent.locks.ReentrantLock.java</span></code>
<code><span class="code-snippet_outer"> /** Synchronizer providing all implementation mechanics */</span></code>
<code><span class="code-snippet_outer"> private final Sync sync;</span></code>
<code><span class="code-snippet_outer"> /**</span></code>
<code><span class="code-snippet_outer"> * Base of synchronization control for this lock. Subclassed</span></code>
<code><span class="code-snippet_outer"> * into fair and nonfair versions below. Uses AQS state to</span></code>
<code><span class="code-snippet_outer"> * represent the number of holds on the lock.</span></code>
<code><span class="code-snippet_outer"> */</span></code>
<code><span class="code-snippet_outer"> abstract static class Sync extends AbstractQueuedSynchronizer {</span></code>
<code><span class="code-snippet_outer">......</span></code>
<code><span class="code-snippet_outer">}</span></code>
<code><span class="code-snippet_outer"><br></span></code>
<code><span class="code-snippet_outer"> public void lock() {</span></code>
<code><span class="code-snippet_outer"> sync.lock();</span></code>
<code><span class="code-snippet_outer"> }</span></code>
</pre>
</section>
<pre>
<section class="code-snippet__fix code-snippet__js">
<ul class="code-snippet__line-index code-snippet__js"><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li><li></li></ul>
<pre class="code-snippet__js" data-lang="java">
<code><span class="code-snippet_outer"> /**</span></code>
<code><span class="code-snippet_outer"> * Acquires in exclusive mode, ignoring interrupts. Implemented</span></code>
<code><span class="code-snippet_outer"> * by invoking at least once {@link #tryAcquire},</span></code>
<code><span class="code-snippet_outer"> * returning on success. Otherwise the thread is queued, possibly</span></code>
<code><span class="code-snippet_outer"> * repeatedly blocking and unblocking, invoking {@link</span></code>
<code><span class="code-snippet_outer"> * #tryAcquire} until success. This method can be used</span></code>
<code><span class="code-snippet_outer"> * to implement method {@link Lock#lock}.</span></code>
<code><span class="code-snippet_outer"> *</span></code>
<code><span class="code-snippet_outer"> * @param arg the acquire argument. This value is conveyed to</span></code>
<code><span class="code-snippet_outer"> * {@link #tryAcquire} but is otherwise uninterpreted and</span></code>
<code><span class="code-snippet_outer"> * can represent anything you like.</span></code>
<code><span class="code-snippet_outer"> */</span></code>
<code><span class="code-snippet_outer"> public final void acquire(int arg) {</span></code>
<code><span class="code-snippet_outer"> if (!tryAcquire(arg) &amp;&amp;</span></code>
<code><span class="code-snippet_outer"> acquireQueued(addWaiter(Node.EXCLUSIVE), arg))</span></code>
<code><span class="code-snippet_outer"> selfInterrupt();</span></code>
<code><span class="code-snippet_outer"> }</span></code>
</pre>
</section>
<section style="line-height: 1.75em;"><br></section>
</pre>
</div>
</div>
</div>
</body>
</html>