benzhan 5 年之前
父节点
当前提交
8767e5b8fe
共有 3 个文件被更改,包括 12 次插入76 次删除
  1. 12 11
      cmsProgram/adv.md
  2. 0 25
      sub_directory_2/article1.md
  3. 0 40
      sub_directory_2/article2.md

+ 12 - 11
cmsProgram/adv.md

@@ -4,7 +4,7 @@
 
 ### 广告数据曝光-不展示:
 
-```
+```html
 <script>
 (function(){
 var n = new Image;
@@ -12,20 +12,21 @@ n.src = “http://adfarm.mediaplex.com/ad/tr/10592-210875-29436-43";
 n = null;
 })()
 </script>
-```  
+```
 
 eg:加时间限制
-```
+```html
 
 <script>
     //曝光2018-9-14(添加定时)
     (function(){
-    var endTime = 1536940800000;
-    var now = (new Date()).getTime()
-    if(now>=endTime) return;
-    var n = new Image;
-    n.src = "xx";
-    n = null;
+      var endTime = 1536940800000;
+      var now = (new Date()).getTime()
+      if(now>=endTime) return;
+      var n = new Image;
+      n.src = "xx";
+      n = null;
     })()
-    </script>
-```
+</script>
+```
+

+ 0 - 25
sub_directory_2/article1.md

@@ -1,25 +0,0 @@
-#### Manual/Development
-
-1. Clone this repo.
-2. In Chrome, open the Extensions settings. (Wrench button, Tools, Extensions.)
-3. On the Extensions settings page, click the "Developer Mode" checkbox.
-4. Click the now-visible "Load unpacked extension…" button. Navigate to the directory where you cloned the repo, then the `src` directory under that.
-5. The *Markdown Here* extension should now be visible in your extensions list.
-6. Reload your webmail page (and maybe application) before trying to convert an email.
-
-### Firefox and Thunderbird
-
-#### Mozilla Add-ons site
-
-Go to the [Firefox Add-ons page for *Markdown Here*](https://addons.mozilla.org/en-US/firefox/addon/markdown-here/) and install normally.
-
-Or go to the "Tools > Add-ons" menu and then search for "Markdown Here".
-
-After installing, make sure to restart Firefox/Thunderbird!
-
-**Note:** It takes up to a month for Mozilla to approve changes to the Firefox/Thunderbird extension, so updates (features, fixes) will lag behind what is shown here. You can manually choose to install the newest version before it's reviewed from the list of versions: [https://addons.mozilla.org/en-US/firefox/addon/markdown-here/versions/](https://addons.mozilla.org/en-US/firefox/addon/markdown-here/versions/)
-
-#### Manual/Development
-
-1. Clone this repo.
-2. Follow the instructions in the MDN ["Setting up an extension development environment"](https://developer.mozilla.org/en/Setting_up_extension_development_environment) article.

+ 0 - 40
sub_directory_2/article2.md

@@ -1,40 +0,0 @@
-### Safari
-
-[Download the extension directly.](https://s3.amazonaws.com/markdown-here/markdown-here.safariextz) When it has finished downloading, double click it to install.
-
-#### Preferences
-
-To get to the Markdown Here preferences, open the Safari preferences and then go to the "Extensions" tab. Then click the "Click me to show Markdown Here options" box.
-
-### Opera
-
-Note that *Markdown Here* only works with Opera versions 16 and higher (i.e., the ones that are based on Chromium).
-
-Go to the [Opera Add-ons store page for *Markdown Here*](https://addons.opera.com/en/extensions/details/markdown-here/) and install normally.
-
-After installing, make sure to reload your webmail or restart Chrome!
-
-## Usage Instructions
-
-Install it, and then…
-
-1. In Chrome/Safari/Opera, *make sure* you reload your web mail page before trying to use Markdown Here.
-2. In Chrome/Firefox/Safari/Opera, log into your Gmail, Hotmail, or Yahoo account and start a new email. In Thunderbird, start a new message.
-3. Make sure you're using the rich editor.
-   * In Gmail, click the "Rich formatting" link, if it's visible.
-   * In Thunderbird, make sure "Compose messages in HTML format" is enabled in your "Account Settings", "Composition & Addressing" pane.
-4. Compose an email in Markdown. For example:
-
-   <pre>
-   **Hello** `world`.
-
-   ```javascript
-   alert('Hello syntax highlighting.');
-   ```
-   </pre>
-
-5. Right-click in the compose box and choose the "Markdown Toggle" item from the context menu. Or click the button that appears in your address bar. Or use the hotkey (<kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>M</kbd> by default).
-6. You should see your email rendered correctly from Markdown into rich HTML.
-7. Send your awesome email to everyone you know. It will appear to them the same way it looks to you.
-
-### Revert to Markdown